You didn't specify what platform it is, and it's apparently not one that would crash this nasty code.
0xb8000000 on the legacy DOS platform was the video memory buffer, so in text mode, you could write characters there directly. See here: http://wiki.answers.com/Q/What_is_0xB8000000