Created
January 14, 2019 17:58
-
-
Save vnkdj5/f9a072cb441022425d8988abfa7471fc to your computer and use it in GitHub Desktop.
Pass 1 ASM Input and Output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (AD,01) (C,100) | |
| (DL,02) (C,3) | |
| (IS,04) 1 (S,03) | |
| (IS,01) 1 (S,04) | |
| (IS,05) 1 (S,05) | |
| (AD,04) (S,1)+1 | |
| (IS,010) (S,05) | |
| (AD,03) (S,6)+1 | |
| (IS,00) | |
| (DL,01) (C,19) | |
| (DL,01) (C,17) | |
| (AD,02) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| START 100 | |
| A DS 3 | |
| L1 MOVER AREG, B | |
| ADD AREG, C | |
| MOVEM AREG, D | |
| D EQU A+1 | |
| L2 PRINT D | |
| ORIGIN L2+1 | |
| STOP | |
| B DC '19 | |
| C DC '17 | |
| END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 0 | |
| 2 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 A 100 | |
| 2 L1 103 | |
| 3 B 108 | |
| 4 C 109 | |
| 5 D 101 | |
| 6 L2 106 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment