Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //somando e subtraindo
- start:
- mov A, 3
- mov B, 5
- mov D, A
- MOV A, B
- ADD A, D
- MOV B, A
- SUB B, D
- HLT
- //multiplicando e dividindo
- start:
- MOV A, 10
- MUL A
- MOV B, 20
- DIV B
- HLT
- //operações logicas
- start:
- MOV A, 0
- NOT A
- HLT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement