snasm68k manual? or what's the origin mnemonic?

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
sigflup
Very interested
Posts: 111
Joined: Mon Sep 06, 2010 12:05 pm
Contact:

snasm68k manual? or what's the origin mnemonic?

Post by sigflup » Sat Feb 19, 2011 4:16 am

Can't find the snasm68k manual :(

anyone know the origin mnemonic?

e.g.

org $30

blah blah

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Sat Feb 19, 2011 5:07 am

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. 8)

EDIT: Oh, you me the mnemonic FOR the origin command, not the origin OF. :lol:

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.

TmEE co.(TM)
Very interested
Posts: 2443
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sat Feb 19, 2011 7:33 am

SNASM68K has no digital manual but a big physical book, which form what I've seen has not been scanned yet.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Nemesis
Very interested
Posts: 791
Joined: Wed Nov 07, 2007 1:09 am
Location: Sydney, Australia

Post by Nemesis » Sat Feb 19, 2011 9:49 am

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.

sigflup
Very interested
Posts: 111
Joined: Mon Sep 06, 2010 12:05 pm
Contact:

Post by sigflup » Sat Feb 19, 2011 2:55 pm

it's org... or rather ORG. the case mattered- that's why I couldn't find it.

tomaitheous
Very interested
Posts: 256
Joined: Tue Sep 11, 2007 9:10 pm

Post by tomaitheous » Sat Feb 19, 2011 9:49 pm

Open up the exe in a hex editor and look for ascii characters. You'll find directive keywords in there.

Post Reply