Thread: Difference between 12-bit address and 12-bit address operand?

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    244

    Difference between 12-bit address and 12-bit address operand?

    Hello,

    I have an exam coming up tomorrow and I was wondering if someone can help me understand the difference between a 12-bit address and 12-bit address operand?

    Isnt an address operand the number within the address, which is actually literally the address itself (in other words, 12-bit address is equivalent to 12-bit address operand)


    thanks!
    Linklists use recursion to store what? ..... floats!

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    An address operand is an address that's an operand to an instruction.

    It's possible that an instruction cannot take the same number of bits as an address as the native width of addresses on the architecture.

    For example, on some 8-bit microcontrollers with 16-bit addresses (like the Intel 8051), most instructions only take 8-bit addresses. To access the rest of the memory space, you need to use a special instruction to move data into the 8-bit address space first.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing array, to file
    By zootreeves in forum C Programming
    Replies: 9
    Last Post: 09-08-2007, 05:06 PM
  2. I thought pointers were pointers...
    By keira in forum C Programming
    Replies: 19
    Last Post: 08-15-2007, 11:48 PM
  3. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM