Page 1 of 1
snasm68k manual? or what's the origin mnemonic?
Posted: Sat Feb 19, 2011 4:16 am
by sigflup
Can't find the snasm68k manual
anyone know the origin mnemonic?
e.g.
org $30
blah blah
Posted: Sat Feb 19, 2011 5:07 am
by Chilly Willy
The origin is the definition: a mnemonic is something used to aid in memory; assembly language mnemonics are just labels meant to be easier to remember than the binary operation codes.
Of course, many of us got so good at 6502/68000/Z80/whatever assembly that we could read the code from a hex dump.
EDIT: Oh, you me the mnemonic FOR the origin command, not the origin OF.
Silly me.
I've never seen anything used but ORG or *= for origin. I'm sure there are other mnemonics, but those are by far the most popular.
Posted: Sat Feb 19, 2011 7:33 am
by TmEE co.(TM)
SNASM68K has no digital manual but a big physical book, which form what I've seen has not been scanned yet.
Posted: Sat Feb 19, 2011 9:49 am
by Nemesis
The commands for snasm68k are basically the same as that for asm68k. You can find documentation for the asm68k commands in this document:
http://koti.kapsi.fi/~antime/sega/files/SATMAN.pdf
SNASM68K has no digital manual but a big physical book, which form what I've seen has not been scanned yet.
That'd be nice to see. There isn't nearly enough info about snasm68k around.
Posted: Sat Feb 19, 2011 2:55 pm
by sigflup
it's org... or rather ORG. the case mattered- that's why I couldn't find it.
Posted: Sat Feb 19, 2011 9:49 pm
by tomaitheous
Open up the exe in a hex editor and look for ascii characters. You'll find directive keywords in there.