Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // asm file (Input)
- START 98
- ADD AREG,='5'
- AGAIN MUL AREG,BREG
- MOVEM DREG,ONE
- SUB DREG,='8'
- JNC AGAIN
- ONE DS 1
- TWO DC 2
- END
- // pseudo code file (Input)
- ORIGIN 4000
- END 3000
- DS 1010
- DC 1234
- LTORG 6700
- EQU 7800
- START 5000
- // mnemonic table file (Input)
- ADD 2 21
- SUB 2 22
- MUL 2 23
- DIV 2 24
- READ 4 09
- MOVEM 2 42
- MOVER 2 41
- BC 4 84
- INCR 2 36
- JNC 2 37
- PRINT 4 88
- LT 2 01
- LE 2 02
- GT 2 03
- GE 2 04
- NE 2 05
- EE 2 06
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement