O'Reilly logo

Embedded Systems and Computer Architecture by Graham R Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6

Instruction set and code assembly

In designing the hardware of the G80 we have noted a few instructions that it must be able to perform. In this chapter we introduce other useful instructions together with different addressing modes. We also see how these instructions, written in assembly language, can be converted to the 0s and 1s that will be stored in the computer memory. We do this initially by hand and then use a software tool called an assembler. By using the simulator software, we watch the activity of the G80 as it executes a program.

6.1 Programmer’s model

The G80 microprocessor contains several registers that are accessible to the programmer. In order to write programs for it we must be aware of these registers; we have to keep ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required