what is the addressing mode of dec with memory? (assembly x86) -



what is the addressing mode of dec with memory? (assembly x86) -

what addressing mode operations:

dec z-2

mov bx, offset z+3

? find of scenarios except ones :/

thanks allot!

the first instruction dec z-2 uses memory operand. think many assemblers prefer dec word [z-2]. written way instruction decrements word before label/variable z.

the sec instruction mov bx,offset z+3 uses immediate operand value 3 more address of label/variable z. doesn't approach memory address calculated.

assembly x86

Comments