AnsweredAssumed Answered

Macro Paramters

Question asked by AFG1 on Nov 3, 2006
Latest reply on Nov 4, 2006 by bigmac
Can anyone help in Codewarrior macro paramters?

This is the Macro definition from the Avocet Assembler:

EEBYTES MACRO SYMBOLNM,SYMSIZE

SYMBOLNM EQU EECOUNTR
XDEF SYMBOLNM

EECOUNTR SET EECOUNTR+SYMSIZE

ENDM

I tried translating into Codewarrior assembly like this:

EEBYTES MACRO ;SYMBOLNM,SYMSIZE

\1 EQU \3
XDEF \1

\3 SET (\3+\2)

ENDM

However I come up with several errors. Anyone's help will be greatly appreciated

Outcomes