em_strhp.s
来自「操作系统源代码」· S 代码 · 共 28 行
S
28 行
.sect .text; .sect .rom; .sect .data; .sect .bss.sect .text.define .strhp.extern .reghp, .limhp, EHEAP, .trp.strhp: pop ebx pop eax mov (.reghp),eax cmp eax,(.limhp) jb 1f add eax,02000 and eax,~0777 push ebx push eax call __brk pop ecx pop ebx cmp eax,-1 je 2f1: mov (.limhp),ecx jmp ebx2: mov eax,EHEAP push ebx jmp .trp
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?