CMPT 150 Lecture Notes - Status Register, Instruction Register, Operand
Document Summary
The motorola hc-12 cpu is a commercial cpu that implements an instruction set of over. In order to better understand how these instructions are executed, it is helpful to understand the basic organization of the datapath of the cpu. Of immediate note, are the registers found within cpu: a and b registers: these registers hold the operands for most arithmetic and logic instructions. Its purpose is to hold the address in memory of the next instruction to be executed. Program is a sequence of instructions stored in consecutive locations of memory. The fetch/execute cycle for the hc-12 cpu describes how this particular cpu implements the fetch/execute cycle described previously. Since a word of memory is only 8 bits, most hc-12 instructions require more than one 8-bit word of memory to store all of the machine language instruction in memory: set pc to address of next instruction.