flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
DOS386
Code: INC DWORD [EBX] 2 Byte's Code: INC DWORD [EBP] 3 Byte's No way to encode [EBP] with just 2 Byte's ??? |
|||
![]() |
|
score_under
MOV EAX,[ESP+4] = 4 bytes.
MOV EAX,[EBP+4] = 3 bytes. It's just one of those cases where there actually *is* a difference between registers on x86 ![]() |
|||
![]() |
|
bitshifter
Also note: DOS386's code assumes use32
|
|||
![]() |
|
score_under
bitshifter wrote: Also note: DOS386's code assumes use32 Uhh... real men use64 or something? ![]() |
|||
![]() |
|
baldr
score_under,
16/64-bit inc [ebx] requires address-size prefix and can't be 2 bytes long. 32-bit can. |
|||
![]() |
|
DOS386
Thanks.
> assumes use32 Right. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.