![]() |
![]() |
#1 |
Registered User
Join Date: Jan 2016
Location: NL
Posts: 32
|
Asmone - combining options (OR-ing)
Hello,
I'm trying to compile some example code in AsmOne 1.20, but it fails because of this: Code:
D_aud0=1 D_aud1=2 D_aud2=4 D_aud3=8 D_aud=D_aud0|D_aud1|D_aud2|D_aud3 Does anyone have any idea how this syntax should look like ![]() Update: I see these 'options' can also be used in commands like: Code:
move.l #OPTION1|OPTION2|OPTION3,d0 Last edited by borchen; 06 November 2016 at 09:53. |
![]() |
![]() |
#2 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,538
|
Your syntax is correct. No reason why it shouldn't work. Did you make sure that D_aud0/1/2/3 are defined before D_aud?
Might be a bug in the assembler. Did you try other AsmOne/AsmPro versions? |
![]() |
![]() |
#3 | |
Registered User
Join Date: Jan 2016
Location: NL
Posts: 32
|
Quote:
I wonder why they choose this ![]() ![]() ![]() So in AsmOne it should look like this: Code:
OPTION1=%1000 OPTION2=%0100 OPTION3=%0010 OPTION4=%0001 move.w #OPTION1!OPTION2!OPTION3!OPTION4,d0 Last edited by borchen; 08 November 2016 at 23:22. |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combining copper scrolling with copper background | phx | Coders. Asm / Hardware | 16 | 13 February 2021 12:41 |
AsmOne installation | lunecat | Coders. General | 1 | 19 September 2015 00:05 |
Old PD stuff - having trouble adf'ing it! | ElectroBlaster | Amiga scene | 7 | 10 March 2013 20:54 |
View Magazine Jpegs like a book, without pdf'ing it! | diablothe2nd | AMR suggestions and feedback | 0 | 30 March 2012 17:09 |
AsmOne even directive...? | pmc | Coders. General | 30 | 04 December 2009 09:33 |
|
|