Re: [cc65] macro arguments

From: <silverdr1inet.com.pl>
Date: 2005-12-29 22:14:18
On 2005-12-29, at 22:09, Ullrich von Bassewitz wrote:

>> One more question: I am looking for something like .DSB from xa - the
>> control command that assembles a given number of bytes. Is there
>> something like that?  I currently wrote a:
>>
>> .macro	dsb    	numberoftimes
>> 	.repeat	numberoftimes
>> 		.byte  	$00
>> 	.endrepeat
>> .endmacro
>>
>> macro to emulate this command but maybe I am just missing something?
>
>         .res    count [,value]
>
> is probably what you are searching for.
>
> If you don't give a value, the fill value from the linker config is  
> used
> (default $00).

Right. Vielen Dank!

-- 
The problem in the world today is communication. Too much  
communication - Homer Simpson

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Dec 29 22:14:31 2005

This archive was generated by hypermail 2.1.8 : 2005-12-29 22:14:33 CET