Routines
| Prev: E38F | Up: Map | Next: E3A9 |
E39C: HL = the money a thing holds (+9/+10)
|
Unpacks IX+9/+10, seven bits a byte, keeping the sign.
|
||||||||||||
| E39C | LD L,(IX+$09) | Read the adjective low byte (+9) of the thing record at IX into L | ||||||||||
| E39F | LD H,(IX+$0A) | Read the adjective high byte (+10) of the thing record at IX into H | ||||||||||
| E3A2 | RL L | Rotate L left through the carry - Put them back together: HL = H x 128 + L, H's sign kept by SRA | ||||||||||
| E3A4 | SRA H | Shift H right keeping its sign | ||||||||||
| E3A6 | RR L | Rotate L right through the carry | ||||||||||
| E3A8 | RET | Return to the caller | ||||||||||
| Prev: E38F | Up: Map | Next: E3A9 |