English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 22 September 2022, 13:29   #1
Steam Ranger
Registered User

 
Join Date: May 2022
Location: Adelaide
Posts: 16
Assembly Directives

| 2 Questions |
- |----------------------------------------------------------------------------------------------------------------------|
1 | Is there a list I can find somewhere that gives each assembler directive, and their uses.----------------------------|
- |----------------------------------------------------------------------------------------------------------------------|
2 | Is there a way I can load a structure as a constant? Like dc but instead of simple values it's the entire structure? |
- |----------------------------------------------------------------------------------------------------------------------|
| Thanks |
Steam Ranger is offline  
Old 22 September 2022, 13:58   #2
a/b
Registered User

 
Join Date: Jun 2016
Location: europe
Posts: 673
1. depends on assembler, many directives are common though. try http://sun.hasenbraten.de/vasm/release/vasm_4.html (4.4 directives), or do a web search for asm-one manual, etc...
2. yes, with a macro. for example, something like (in asm-one syntax):
Code:
  RSRESET
EX_member1  RS.W 1    ; example structure
EX_member2  RS.L 1
EX_member3  RS.W 1
EX_SIZE  RS 0

InitEX  MACRO
  DC.W \1
  DC.L \2
  DC.W \3
  ENDM

  InitEX 123,456,789
a/b is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly Error WAKD support.Apps 4 06 April 2021 20:43
vasm bug with ORG directives jotd Coders. Asm / Hardware 2 26 January 2020 19:09
assemblers LOAD & ORG directives jotd Coders. Asm / Hardware 4 26 January 2020 16:00
RawDoFmt() in Assembly redblade Coders. General 6 02 June 2009 14:25
assembly TV L8-X Amiga scene 2 04 August 2002 02:36

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Page generated in 0.07265 seconds with 15 queries