Mercurial > hg > Members > kono > nitros9-code
comparison 3rdparty/packages/os9l2bbs/cmds/suser.asm @ 2895:92301a2c0eb7 lwtools-port
os9l2bbs: Avoid overflow error on 8-bit offset indexed mode
LWTOOLS 4.9 reports error in this case, so change the $FFE0
offsets to an equivalent -$20 offset.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 11 Jan 2014 14:10:31 +0100 |
parents | f87ec0b216c8 |
children |
comparison
equal
deleted
inserted
replaced
2894:23b4069ef1ab | 2895:92301a2c0eb7 |
---|---|
1260 ldu $04,S * 09F1 EE 64 nd | 1260 ldu $04,S * 09F1 EE 64 nd |
1261 ldd U0006,U * 09F3 EC 46 lF | 1261 ldd U0006,U * 09F3 EC 46 lF |
1262 clra * 09F5 4F O | 1262 clra * 09F5 4F O |
1263 andb #192 * 09F6 C4 C0 D@ | 1263 andb #192 * 09F6 C4 C0 D@ |
1264 bne L0A27 * 09F8 26 2D &- | 1264 bne L0A27 * 09F8 26 2D &- |
1265 leas <$FFE0,S * 09FA 32 E8 E0 2h` | 1265 leas -$20,S * 09FA 32 E8 E0 2h` |
1266 leax 0,S * 09FD 30 E4 0d | 1266 leax 0,S * 09FD 30 E4 0d |
1267 pshs X * 09FF 34 10 4. | 1267 pshs X * 09FF 34 10 4. |
1268 ldd U0008,U * 0A01 EC 48 lH | 1268 ldd U0008,U * 0A01 EC 48 lH |
1269 pshs D * 0A03 34 06 4. | 1269 pshs D * 0A03 34 06 4. |
1270 clra * 0A05 4F O | 1270 clra * 0A05 4F O |