Quiz 6.3: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 16:45, 1 November 2016

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