#Opcodes HELP Needed
16 messages in this thread
ALL:
I need a table of Opcodes and their assembler equivalents. Doe -s anyone
out there happen to have such a beast? I've got some assembler prging books
(like the COMPUTE! one)…but surprise it has NO opcode table….something
that is sorely missed in a prgers reference!!! ACK! DWM PS If you can
recommend a good 680×0 book that would be cool.
Call Motorola (get their number from 800 info @ 1800-555-1212) and get the
68000 Microprocessor User's Manual. This has everything you would ever want
to know about the 68000, including opcodes. Have fun.
Darin, SPC Technical Support
David… you don't _really_ want an opcode table, do you? Even the lowly
68000 is so complex it's a beast to keep in your head. It's not like the 8
bit machines. The 68020 and above… I would *never* try and deal with
opcodes.
If you're exploring already existing code, then I most strongly recommend
you get ReSource from the Programmer's WorkShop. This is an extremely
powerful dissasembler, and it will teach you more about the 68000 in an
hour than any book could in a year.
Ben
Ok…so then I should not attempt a hand disassembly? 🙂
David,
Hand disassembly of 68xxx code is best left to those with plenty of time,
and nothing worthwhile spending it on. Ben suggested ReSource, and I
heartily agree with him. It's the best there is for the Amiga. If you don't
have the need for that amount of power, I would suggest looking in the LIBs
here, searching for the keyword 'disas*'. There are a number of freely
distributable disassemblers available.
-larry
let me put it this way – *I* wouldn't, and I'm very familiar with the
technique, having been "into" micros since the 4004.
Ben
righto, Ben! I cut my teeth on the 6502 and did hand assembly for years –
long ago memorized (and more recently forgot) all the opcodes in hex for
the 6502 and I could write faster by hand than many others could with an
assembler. But with a 68xxx, I wouldn't even dream I had the ability to
manage all that …. Whew! BTW – thank you. IM arrived and I'll be into it
today. Can't wait to see FPro stuff in IM. If you're interested in random
numbers, check out the file I posted here today – Rand.lzh in the ASM
library (6). Also, to David – if you want a GREAT assembler, try Macro68
from the Puzzle Factory (also distributors of ReSource). Couldn't live
without it.
Same here – I knew 6800 stuff and 6502 stuff perfectly, and didn't have all
that hard a time with it. Then the 6809 came out, and because I really
didn't know any better, I did the same thing – it took almost a YEAR to do,
as the 6809 is most seriously complex in comparison to those earlier
processors… the 68000 and it's older brothers, well, forget it. :^) I
haven't got enough brian cells left to dedicate to the job.
We're looking forward to seeing FPro stuff in IM, also. What kind of 24 bit
display hardware do you have, Daniel? We've got drivers for a number of
them now, some released and some in Beta… let me know.
Ben
ben I have Firecracker24 on a separate monitor (I hope the docs on IM are
wrong when they say I can only use IM/FC version on a combined single
monitor – and I sure hope the FC version is here). FractalPro only
directly supports the FC (will render to it 'live' simultaneously with the
HAM rendering but in double the horizontal resolution of the HAM – and will
show 'loaded' 24-bit FPro pics on it 'live', etc.). My beta testers have a
HAM-E (report is that FPro 24-bit pics work just fine on it) and another
has a toaster (similar OK report). FractalPro5.0 has ARexx and 'run a
script after rendering' options so I see no problem multitasking a HAM-E or
other ARexx or AmigaDos script-runnable device with FractalPro5.0. For the
time being, FireCracker will be the only 'directly' supported 24-bit
device. I know you're gonna LOVE the FractalPro 5.0 24-bit pics – they are
spectacular – the way fractals ought to be on the Amiga.
The docs are not wrong, and I hope you have the regular version of
Imagemaster. :^)
There is a PI Module on there that will write directly to the FC24 – you
can xfer out from IM at any time, in any FC24 resolution.
The IMFC product will only run in the configuration where you use the
Impulse supplied overlay cable; we use both Amiga screens and FC24 screens
to do things for you. If you can't run that way, then you use the regular
IM, and the FC24 PI Module. You'll get _exactly_ the same end results.
Too bad you didn't elect to support the HAM-E. It's trivial to do; open the
hame libraries, call the render code, and, if the users wants, call the
saver code. Not one thing for you to write other than library calls.
Ben
you ARE kidding, aren't you?
Sorry…Dan kidding about what?
really converting opcodes to hex by hand on a 68000!
feel compelled to reply, as author of the Compute! book … That book
clearly states you NEED a Motorola 68xxx manual to go with it – no way to
do what they did in their book in ours! Try Plauger's book (68000 Primer)
or the Sybex (watch out for a couple of incompletely described or wrongly
described instructions). The Compute! books is about assembler on the Amiga
and NOT strictly about 68000. We definitely limited our scope. The
Motorola 68xxx manuals are where you need to look. Can't imagine NOT
having one! Motorola is easy to contact for them – get one (you'll soon see
why our book doesn't include all that their book does – our book would have
been 3x as long and would have cost $100 or more + we would have had to
arrange Motorola's permission, etc.). Hope you like the Compute! book for
what it DOES have. Sorry it didn't have everything you need.
Dan…no sweat. I've had folks say the same things about my books. I've
gotta try to get a hold of Motorola…..DWM PS…I'm going to purchase
Resource very soon…unfortunately I'm going to wait until after Christmas.
DWM
I don't use resource (the disassembler) but I strongly recommend Macro68
(the assembler). The motorola books should be easy to get. Merry
Christmas.