Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lc-3]

Little Computer 3 (LC-3) is an educational assembly language, designed to help teach low-level programming. It is run using a simulator, not actual hardware.

6
votes
2answers
106 views

Small CPU Emulator (LC3) in Python

I wrote a small emulator for fun. Full code @ bottom of post, available on GitHub here. Design choices: modeling 16 bit little endian memory — opted for ctypes ...
1
vote
1answer
860 views

Efficient LC3 assembly code to print the numbers leading up to any digit

I'm using an LC3 microarchitecture simulator to write assembly code. I've only been writing assembly for about three weeks, so I am still very new. My goal is to print all the numbers leading up to a ...
3
votes
2answers
243 views

Implementing OR with the lc-3

Today, something possessed me and I started learning assembly. My poison of choice is the lc-3, this is my very first program. It is actually only the first part of a two part problem, but this ...