; xh = memaddrh, xl = memaddrl
.macro mem_read_d
- rcall dram_read
+ lcall dram_read
mov @0,temp
.endm
.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