Talk:Bf core
Jump to navigation
Jump to search
x86 asm generates 3D XX XX code for cmp ax,xxxx instruction
In our case db 3Dh means "skip next two bytes of code" or "three-byte nop".
This trick help us to save some space, because jmp instruction takes more bytes.
Also we can skip single byte of code using db 3Ch prefix, because cmp al,xx => 3C XX.