]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - dram-4bit.inc
git-svn-id: svn://cu.loc/avr-cpm/trunk/avrcpm/avr@114 57430480-672e-4586-8877-bcf8adb...
[avrcpm.git] / dram-4bit.inc
index 2e08ae8aa757f9f58df996f6e289e842093c83ad..2deba3da5d75ecd1734fb2693897afce1bef85fa 100644 (file)
@@ -85,7 +85,7 @@
 ;      xh = memaddrh, xl = memaddrl
 
 .macro mem_read_d
-       rcall   dram_read
+       lcall   dram_read
        mov     @0,temp
 .endm
 
@@ -95,7 +95,7 @@
 
 .macro mem_read_ds
        movw    xl,@1l
-       rcall   dram_read
+       lcall   dram_read
        mov     @0,temp
 .endm
 
 ;      xh = memaddrh, xl = memaddrl, temp = srcreg
 
 .macro mem_write
-       rcall   dram_write
+       lcall   dram_write
 .endm
 
 ;----------------------------------------------
 
 .macro mem_write_s
        mov     temp,@0
-       rcall   dram_write
+       lcall   dram_write
 .endm
 
 ;----------------------------------------------
 .macro mem_write_ds
        movw    x,@0l
        mov     temp,@1
-       rcall   dram_write
+       lcall   dram_write
 .endm