| C64 ROM | Routines |
| Prev: AE33 | Up: Map | Next: AE43 |
|
Used by the routine at A742.
|
||||
| AE38 | A8 | TAY | copy sign | |
| AE39 | 68 | PLA | get return address low byte | |
| AE3A | 85 22 | STA $22 | save it | |
| AE3C | E6 22 | INC $22 | increment it as return-1 is pushed | |
|
note, no check is made on the high byte so if the calling routine ever assembles to a page edge then this all goes horribly wrong!
|
||||
| AE3E | 68 | PLA | get return address high byte | |
| AE3F | 85 23 | STA $23 | save it | |
| AE41 | 98 | TYA | restore sign | |
| AE42 | 48 | PHA | push sign | |
| Prev: AE33 | Up: Map | Next: AE43 |