renamed makros M_IO_READ and M_IO_WRITE to inr and outr
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
; * Please see toplevel file COPYING of that project for license details. *
|
||||
; ***************************************************************************
|
||||
|
||||
|
||||
#if 0
|
||||
; M_IO_READ DEST, SRC
|
||||
.macro M_IO_READ
|
||||
.if @1 < 64
|
||||
@@ -27,3 +27,26 @@
|
||||
sts @0, @1
|
||||
.endif
|
||||
.endmacro
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
; inr DEST, SRC
|
||||
.macro inr
|
||||
.if @1 < 64
|
||||
in @0, @1
|
||||
.else
|
||||
lds @0, @1
|
||||
.endif
|
||||
.endmacro
|
||||
|
||||
|
||||
|
||||
; outr DEST, SRC
|
||||
.macro outr
|
||||
.if @0 < 64
|
||||
out @0, @1
|
||||
.else
|
||||
sts @0, @1
|
||||
.endif
|
||||
.endmacro
|
||||
|
||||
Reference in New Issue
Block a user