Coder Profile - Show off your skills, get a coder profile.
 
 
 
code pin board helloworld bootloader Download Source Code
Author Details Code Information
Appie

Pinned 1 Codes
Posted 0 Coding Articles

Send A Message
View Coders Profile
Language Assembly
Expires Never
Length 426 Characters (24 Lines)
Password no password
Description

The title says it all...
  1. [BITS 16]
  2. [ORG 0x7C00]
  3. main:
  4.    mov ax,0x1000
  5.    mov ds,ax
  6.    mov si, rofl
  7.    call print
  8.    cli
  9.    hlt
  10.    print:
  11.    mov ah,0x0E
  12.    mov bh,0x00
  13.    mov bl,0x06
  14. nextchar:
  15.    lodsb
  16.    or al,al
  17.    jz return
  18.    int 0x10
  19.    jmp nextchar
  20. return:
  21.    ret
  22. rofl db 'Haxx...',13,10,0
  23. times 510-($-$$) db 0
  24. dw 0xAA55
code pin board Back To Code Pin Board Post New Code
Please login to post comments.
 
Appie     Posted 241 Days Ago
 
 
Haxx... bootloader is a strange title:p
 
VBAssassin     Posted 241 Days Ago
 
 
rofl db 'Haxx...',13,10,0

that don't seem like it says "Hello World" :-S
Page 1 of 1
 
 
Part of the MyPingle Network
Development Blog :: Make A Donation :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents
Version 1.44.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved