显示单个字符的API(2)

This commit is contained in:
Yourtion
2016-05-03 11:36:51 +08:00
parent 4054ce43ab
commit a381fbedc3
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[BITS 32]
MOV AL,'A'
CALL 0xbe3
CALL 2*8:0xbe3
fin:
HLT
JMP fin

View File

@@ -220,4 +220,4 @@ _asm_cons_putchar:
PUSH DWORD [0x0fec] ; 读取内存并PUSH该值
CALL _cons_putchar
ADD ESP,12 ; 将栈中的数据丢弃
RET
RETF