John Mavrick's Garden

Search IconIcon to open search

Last updated Unknown

Status: Tags: Links: HACK CPU Instruction Handling


HACK CPU Instruction Handling

A Instruction

Diagram

!a instruction handling.png

Steps

  1. Decodes instruction into op-code + 15-bit value
  2. Stores value in a-register
  3. Outputs value

C Instruction

Diagram

!c instruction handling.png

Steps

  1. Decodes instruction into:
    1. Op-code
    2. ALU control bits
    3. Destination load bits
    4. Jump bits

References:


Interactive Graph