Microcomputer systems: introduction to assembly programming

Giuliano Donzellini, Domenico Ponta

Analysis and tracing of a simple arithmetic program




In this introductory laboratory you will test a DMC8 assembly program, to gain confidence with the debugger of the Deeds Micro Computer Emulator. The program executes a standard aritmetic operation over an array of ROM memory locations (defined from address 0150h):

Click on the figure to open the program in the Deeds-McE editor. Analyse it, looking at its sequence of instructions. You should understand what the instructions do, paying a special care to the execution of the loops and to the condition of the jumps. Describe the function carried out by the program, adding a few comments to the lines of code.

You can test the program functionality in the debugger, tracing it in step by step mode. To observe the content change of the memory locations involved in the processing, you should scroll down the memory panel until the memory locations of interest will be visible (you can use also the commands available in the memory context menu).