Skip to content

thalting/LC-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC-3

A Little Computer 3 written in Zig

Description

Little Computer 3, or LC-3, is a type of computer educational programming language, an assembly language, which is a type of low-level programming language.

It features a relatively simple instruction set, but can be used to write moderately complex assembly programs, and is a viable target for a C compiler. The language is less complex than x86 assembly but has many features similar to those in more complex languages. These features make it useful for beginning instruction, so it is most often used to teach fundamentals of programming and computer architecture to computer science and computer engineering students.

The LC-3 was developed by Yale N. Patt at the University of Texas at Austin and Sanjay J. Patel at the University of Illinois at Urbana–Champaign. Their specification of the instruction set, the overall architecture of the LC-3, and a hardware implementation can be found in the second edition of their textbook.[1] Courses based on the LC-3 and Patt and Patel's book are offered in many computer engineering and computer science departments.

Getting Started

Dependencies

  • zig 0.13.0

Build

$ zig build

Usage

$ lc-3 <image-file>

Applications for LC-3

2048

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Little Computer 3 written in Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages