What is the meaning of addressing mode?

  • Thread starter Thread starter shantanu135
  • Start date Start date
  • Tags Tags
    Mode
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 1K views
shantanu135
Messages
5
Reaction score
0
what is addressing mode? and what is the meaning of these following statements
BYTE_VALUE DB 150; A byte value is defined
WORD_VALUE DW 300; A word value is defined
ADD BYTE_VALUE,65;An immediate operand 65is added
MOV AX,45H
what is 45h?
 
Physics news on Phys.org
It's not an address, it's just a hexidecimal value. We use base 16 in computers a lot because it makes thinking about numbers in terms of bits easier. 45h = 69

These commands are exactly identical as far as the computer is concerned.
MOV AX, 45H
MOV AX, 69
 
newjerseyrunner said:
It's not an address, it's just a hexidecimal value. We use base 16 in computers a lot because it makes thinking about numbers in terms of bits easier. 45h = 69

These commands are exactly identical as far as the computer is concerned.
MOV AX, 45H
MOV AX, 69