🤫

LC-3 Instructions

TypeQuiz 3 Material

This video saves lives:

Every instruction starts with 4 phase:

Fetch

Fetch

Fetch

Decode —> FSM

FSM

FSM execute microcode

Confusions:

Fetch

OPERATE:

Add

AND

NOT

LOADS:

LEA(LOAD EFFECTIVE ADDRESS)

LD(LOAD)

LDI(LOAD INDIRECT)

LDR(LOAD BASE + OFFSET)

STORES:

ST(STORE)

STR(STORE BASE + OFFSET)

STI(STORE INDIRECT)

CONTROL:

JMP(JUMP)

BR(CONDITIONAL BRANCH)

JSR & JSRR(JUMP TO SUBROUTINE)

TRAP

Trapvector: identifies the service call that the program wishes the operating system to perform

Servical Calls: