created: 07/30/01; revised 11/09/01, 10/25/02, 03/16/03, 10/17/03, 02/17/08, 04/04/09, 06/30/2015, 03/09/20, 04/06/21 audio: 01/19/04

go to home page   go to next page hear noise highlighting

CHAPTER 21 — The Extended Assembler

The basic assembler creates a view of the processor one level above raw machine code. Machine code uses bit patterns to specify machine operations, registers, and addresses. In basic assembly, you can specify these with symbols. Each instruction for the basic assembler corresponds directly to one machine instruction.

The extended assembler creates a view that is at an even higher level. It implements an abstract machine that has a much richer instruction set than the actual MIPS hardware. Many of the statements accepted by the extended assembler correspond to several machine instructions.

SPIM can act as either a basic assembler or an extended assembler. Previous chapters explained the basic assembler so that you could see how actual hardware works. This chapter makes greater use of the extended assembler features.

Chapter Topics:


(Review:) What is a general purpose register?

go to home page   go to next page