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 edit summary
Line 1: Line 1:
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.
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. There is more in section 2 of this [http://www.ti.com/lit/ug/slau131m/slau131m.pdf TI Manual on the Assembler]. I'm not certain about these, but here is what I came up with.


*0x0000
*0x0000

Revision as of 16:46, 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. There is more in section 2 of this TI Manual on the Assembler. 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