26 The Processor and the Operating System PROCESSOR TO TO MEMORY PERIPHERAL DEVICES Figure 4. Generalized Machine Architecture Registers The memory locations in the machine are addressed from 0 to 1777778. There are 32 memory locations which are addressed as if they were part of the computer read/write memory, but actually are part of the processor. These locations are called "internal registers". Each register has a specific location and has been given a name. As you will learn in "Symbolic Operations" (Chapter 4), these names have been reserved and cannot be redefined while using the assem- bly system.
The internal registers are - Address Name (Octal) Description A 0 Arithmetic accumulator Ar2 20-23 BCD arithmetic accumulator B C 1 16 Arithmetic accumulator Stack pointer Cb 13 Block bit for byte pointer in C (use most significant bit only) Stack pointer D Db 17 13 Dmac 15 Block bit for byte pOinter in D (use second most significant bit only) DMA count register Dmama Dmapa 14 13 DMA memory address register DMA peripheral address register (use lower 4 bits only) P Pa 2 Program counter R 11 3 Return stack pointer Peripheral address register (use lower 4 bits only) R4 R5 4 5 ) 1/ a (Input/ Output) registers R6 6 R7 Se 7 24 Shift-extend register address data t----~ peripheral address data