Skip to content

alk0x1/LC-3-VM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC3-VM created from scratch

Memory

  • Pré alocated
  • 64kb

Operate Instructions

ADD AND NOT

Data Movement Instructions

LD LDI LDR LEA

ST STI STR

Control Instructions

BR JSR JSRR RET JMP RTI TRAP

The Instruction Cycle (The Von Neumann Model)

  1. Fetch an instruction
  2. Execute it
  3. Repeat
  • In order to LC-3 function we need to arrange the instructions sequentially in memory.

References: - https://www2.seas.gwu.edu/~bhagiweb/cs135/lectures/lc3-intro.pdf - https://www.cs.utexas.edu/users/fussell/courses/cs310h/lectures/Lecture_10-310h.pdf - https://www.cs.auckland.ac.nz/courses/compsci210s1c/lectures/Goodman/2013.03.28-1up.pdf

About

Rust LC-3 vm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages