First page Back Continue Last page Overview Graphics

Laboratory 2.2 : Assembler, Linker and Debugger, and I/O ports


After entering and building the program, load it into the debugger and step through the program. Answer the questions on the next slide.

Since variables are going to be examined with the debugger, program sections will be set up as expected by the debugger. The code section is called .text and the data section is called .data. These sections should not be declared since they are already predefined by the assembler.