This commit is contained in:
Kartik K. Agaram 2021-08-29 00:10:19 -07:00
parent f5f91a5843
commit 96f91f9b2d
1 changed files with 3 additions and 3 deletions

View File

@ -153,9 +153,9 @@ draw-narrow-grapheme-on-screen-buffer: # buffer: (addr byte), letter-bitmap: (a
39/compare %edx 3/r32/ebx
0f 8d/jump-if->= break/disp32
# var xcurr/eax: int = x*8 + 7
8b/-> *(ebp+0x10) 0/r32/eax # font-width - 1
c1 4/subop/shift-left %eax 3/imm8
05/add-to-eax 7/imm32
8b/-> *(ebp+0x10) 0/r32/eax
c1 4/subop/shift-left %eax 3/imm8 # font-width
05/add-to-eax 7/imm32 # font-width - 1
# var xmin/ecx: int = x*8
8b/-> *(ebp+0x10) 1/r32/ecx
c1 4/subop/shift-left %ecx 3/imm8