Thread: Creating Macros
View Single Post
Old 17 June 2013, 22:26   #1
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Creating Macros

Hi,

I have already created some macros for use in my own ASM code, but I am wondering if it is possible to create a macro to print text that follows it, for example:

Code:
    Print "text"
I could dump all the text strings together and select them by number, but that is time consuming and these text strings are only going to be for debugging.
I tried doing the following, but it seems to just end up pointing the address registers to nothing!

Code:
    Print    MACRO
             move.l    /1,a1
             ENDM

Is it possible to do this in DevPac 3.18?
Lonewolf10 is offline  
 
Page generated in 0.04359 seconds with 11 queries