changeset 2680:9498d2c8d36e lwtools-port

Change unsupported operator in lwasm Switch >>8 to /256 due to >> not being supported by lwasm.
author William Astle <lost@l-w.ca>
date Sun, 10 Jun 2012 14:35:57 -0600
parents 8243b6c181b4
children d166949fd49d
files level2/modules/kernel/fsrqmem.asm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/kernel/fsrqmem.asm	Sun Jun 10 14:35:27 2012 -0600
+++ b/level2/modules/kernel/fsrqmem.asm	Sun Jun 10 14:35:57 2012 -0600
@@ -79,7 +79,7 @@
 * (Already permanently marked @ L01D2)
 * At the start, Y is pointing to the end of the SMAP table+1
          ldx   <D.SysMem    Get start of table ptr
-         leay  Bt.Start>>8,x
+         leay  Bt.Start/256,x
          ldb   #32          skip block 0: it's always full
          abx                same size, but faster than leax $20,x
 *         leay  -(256-(Bt.Start>>8)),y  skip Kernel, Vector RAM & I/O (Can't be free)