Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What is the meaning of addressing mode?

  1. Jul 28, 2015 #1
    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?
     
  2. jcsd
  3. Jul 28, 2015 #2
    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
     
  4. Jul 28, 2015 #3
     
  5. Jul 28, 2015 #4
    thanks man
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: What is the meaning of addressing mode?
Loading...