21,459
社区成员
发帖
与我相关
我的任务
分享
mov ax,0b800h
mov es,ax
mov ah,0201h
mov cx,02h
int 13h
jmp $
dizhi times (512-($-$$))/2 dw 0aa55h times (1) db "H e l l o , O S w o r l d ! "
.text
.code16
.globl _start
_start:
movw $0xb800,%es
movw $0x20,%ax
int $0x13
jmp .
ORG=510-.
.rept ORG
0
.endr
.byte 0X55,0XAA
.ascii "H\ne\nl\nl\no\n \nW\n\no\nr\nl\nd!"
.text
.code16
.globl _start
_start:
movw $0xb800,%es
movw $0x20,%ax
int $0x13
jmp .
ORG=.-_START
.rept ORG
0
.endr
.byte 0X55,0XAA
.ascii "H\ne\nl\nl\no\n \nW\n\no\nr\nl\nd!"