Home > other >  Questions about DEC the decrement instructions
Questions about DEC the decrement instructions

Time:09-19

Good morning everyone a great god, online class today I met a question the teacher didn't speak, why:
DEC [ebx] have grammar mistake?
The DEC wvar [ebx] there is no grammatical mistakes?
Troublesome everybody a great god can you speak? Thank you very much!

CodePudding user response:

Can be formulated operand size:
DEC byte PTR [ebx]
Such as

CodePudding user response:

reference 1/f, play big shoot early nuclear response:
can be formulated operand size:
DEC byte PTR [ebx]
Such as
I know well, because if DEC [ebx] [ebx] there is no size if not, the wvar [ebx] the relative addressing is not also does not have the size? Why it for?

CodePudding user response:

This should see wvar defines, see this name, may be
Wvar dw?
, so it has a data type, dec wvar (ebx) is equivalent to dec [wvar + ebx]
If it is
Wvar equ 0
This, or not
  • Related