]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avr/dram-4bit.inc
* FAT buffer on ATmega328
[avrcpm.git] / avr / dram-4bit.inc
index 2deba3da5d75ecd1734fb2693897afce1bef85fa..fb80d0ac38e251a4324058f7bac2514fb3ad8c68 100644 (file)
@@ -66,7 +66,7 @@
 ;      temp = destreg, xh = memaddrh, xl = memaddrl
 
 .macro mem_read
-       rcall   dram_read
+       lcall   dram_read
 .endm
 
 ;----------------------------------------------
@@ -76,7 +76,7 @@
 
 .macro mem_read_s
        movw    xl,@0l
-       rcall   dram_read
+       lcall   dram_read
 .endm
 
 ;----------------------------------------------
 
 .macro mem_write_d
        movw    x,@0l
-       rcall   dram_write
+       lcall   dram_write
 .endm
 
 ;----------------------------------------------
        lcall   dram_write
 .endm
 
-