mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-02-05 19:13:21 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a381fbedc3 |
@@ -1,6 +1,6 @@
|
||||
[BITS 32]
|
||||
MOV AL,'A'
|
||||
CALL 0xbe3
|
||||
CALL 2*8:0xbe3
|
||||
fin:
|
||||
HLT
|
||||
JMP fin
|
||||
@@ -220,4 +220,4 @@ _asm_cons_putchar:
|
||||
PUSH DWORD [0x0fec] ; 读取内存并PUSH该值
|
||||
CALL _cons_putchar
|
||||
ADD ESP,12 ; 将栈中的数据丢弃
|
||||
RET
|
||||
RETF
|
||||
|
||||
Reference in New Issue
Block a user