help/figures/fig0435.peph
raw| 1 | ;File: fig0435.peph |
| 2 | ;Computer Systems, Fourth Edition |
| 3 | ;Chapter 4, Figure 4.35 |
| 4 | |
| 5 | 0000 C10011 ;A := first number |
| 6 | 0003 710013 ;Add the two numbers |
| 7 | 0006 A10015 ;Convert sum to character |
| 8 | 0009 F10010 ;Store the character |
| 9 | 000C 510010 ;Output the character |
| 10 | 000F 00 ;Stop |
| 11 | 0010 00 ;Character to output |
| 12 | 0011 0005 ;Decimal 5 |
| 13 | 0013 0003 ;Decimal 3 |
| 14 | 0015 0030 ;Mask for ASCII char |