remsbit.asm
来自「开放源码的编译器open watcom 1.6.0版的源代码」· 汇编 代码 · 共 43 行
ASM
43 行
include ..\cwlib.inc
scode
;------------------------------------------------------------------------------
;
;Copy and re-map "system" bitmap duplicate.
;
;On Entry:
;
;EDI - pointer to "system" bitmap table entry.
;
;On Exit:
;
;nothing.
;
;ALL registers preserved.
;
RemapSystemBitmap proc near
pushm eax,ebx,ecx,esi,edi
mov esi,BMT_Pointer[edi]
mov eax,BM_Wide[esi]
mul BM_Depth[esi]
mov ecx,eax
mov edi,BMT_Duplicate[edi]
xchg esi,edi
add edi,size BM
mov ebx,offset SystemXLat
l0: mov al,[esi]
inc esi
xlat
mov [edi],al
inc edi
dec ecx
jnz l0
popm eax,ebx,ecx,esi,edi
ret
RemapSystemBitmap endp
efile
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?