Skip to content
Permalink
Browse files

Added parameter macro

  • Loading branch information...
Jonas Olsson
Jonas Olsson committed Feb 23, 2019
1 parent 9fce62f commit f4457c68301bc0ef411fea579cfbe36a17baf3c3
Showing with 19 additions and 0 deletions.
  1. +19 −0 Asm/parameter_macro.s
@@ -0,0 +1,19 @@

;----------------------------------------------------------------------------------------
;
;----------------------------------------------------------------------------------------
SetColor MACRO a b
lea.l Custom, a6
move.w #\1, \2(a6)
ENDM

;----------------------------------------------------------------------------------------
;
;----------------------------------------------------------------------------------------
_main:
movem.l d0-a6, -(sp)

SetColor $0f00, color00

movem.l (sp)+, d0-a6
rts

0 comments on commit f4457c6

Please sign in to comment.
You can’t perform that action at this time.