sagar474
Full Member level 5
- Joined
- Oct 18, 2009
- Messages
- 285
- Helped
- 5
- Reputation
- 10
- Reaction score
- 5
- Trophy points
- 1,318
- Location
- India,kakinada
- Activity points
- 3,122
Code:
BITS 16
mov ax, 07C0h ; Set data segment to where we're loaded
mov ds, ax;
mov ax,9999
mov ss,ax
mov sp,0000h;
test_string db 'Test' ; it prints a if these two lines are erased
mov si,test_string
;----------------------to print 'A' --------------------------------------------
mov al,41h
mov ah,0eh;
int 10h;
;-------------------------------------------------------------------------------------
jmp $; jump hear ie., infinite loop
times 510-($-$$) db 0 ; Pad remainder of boot sector with 0s
dw 0xAA55 ; The standard PC boot signature
help
please