Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c.memory = {
- MOV + (1 << 4) + (20 << 8), // mov r1, 20
- OUT + (1 << 4), // out r1
- ADD + (1 << 4) + (1 << 8) + (1 << 12), // add r1, r1, r1
- OUT + (1 << 4), // out r1
- HLT, // hlt
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement