What is at address 0?

This is a discussion on What is at address 0? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; and that with RISC instruction sets you are forced to implement these relatively mundane things yourself, at the bit manipulation ...

  1. #31
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    and that with RISC instruction sets you are forced to implement these relatively mundane things yourself, at the bit manipulation level.
    Thankfully, RISC isn't that low level (I'm not saying all chips provide that functionality, just common ones like PA, mips, etc.). Usually less complex instruction sets have more involvement in things like branching, alignment, cache, and usually memory addressing will be much simpler.
    Some good examples of higher level instructions are the string instructions x86 provides--these instructions operate on blocks of data usually pointed to by esi and edi and the direction to move (back or forward) from the addresses given is selected with the direction flag.

    Modern x86 chips actually break instructions up into smaller instructions called microcode which are pretty low level.

  2. #32
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    Kinda unrelated, but someone mentioned 'chips', so I thought I'd post this

Page 3 of 3 FirstFirst 123
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What does this do (Windows API)?
    By EVOEx in forum Windows Programming
    Replies: 4
    Last Post: 12-19-2008, 09:48 AM
  2. Writing array, to file
    By zootreeves in forum C Programming
    Replies: 9
    Last Post: 09-08-2007, 05:06 PM
  3. I thought pointers were pointers...
    By keira in forum C Programming
    Replies: 19
    Last Post: 08-15-2007, 11:48 PM
  4. DX - CreateDevice - D3DERR_INVALIDCALL
    By Tonto in forum Game Programming
    Replies: 3
    Last Post: 12-01-2006, 06:17 PM
  5. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 08:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21