Quiz 6.3

From Class Wiki
Revision as of 15:45, 1 November 2016 by Frohro (talk | contribs) (Created page with "Sections start their location counters at zero. The .bss directives don't advance the counter, because they go off to a different section. Assembly instructions take up bytes...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sections start their location counters at zero. The .bss directives don't advance the counter, because they go off to a different section. Assembly instructions take up bytes of memory according to what they are and their addressing mode. Whenever a .sect happens the location counter is reset to zero. I'm not certain about these, but here is what I came up with.

  • 0x0000
  • 0x0000
  • 0x0000
  • 0x0002
  • 0x0008
  • 0x000a
  • 0x000c
  • 0x000e
  • 0x000e
  • 0x0010
  • 0x0002
  • 0x0000
  • 0x0000