It is currently Thu Apr 02, 2020 1:29 pm

All times are UTC

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Mar 30, 2011 12:02 am 

Joined: Tue Mar 29, 2011 9:02 pm
Posts: 1
The title says it all but it is very important that there are op-codes with the instruction set. Of course I could find an instruction set without op-codes, but my assignment is to make sure there are op-codes with the corresponding instruction. I'm sure you all know this but what I mean by op-codes is the hex equivalent to the instruction. Please help, i have scoured the internet and am having NO luck whatsoever. My teacher says she had to look for a while but she did find them. I don't know how though, I've looked everywhere! :cry: Thanks for you help.

 Post subject:
PostPosted: Wed Mar 30, 2011 1:37 am 

Joined: Mon Jul 26, 2010 11:43 pm
Posts: 198
Location: Aurora, IL
Most lists aren't complete, because there are so many combinations and a lot of voids in the 68000 set, not least because there is space for 68020, 68881, etc instructions and address modes, and that some addressing modes aren't supported for some instructions despite them otherwise being reasonable opcodes/encodable.

Find a half decent assembler, feed it with a test file, and look at the listing file. There are several 68K assemblers on the interwebs, with source, that have such files. Worst case one could build such a file, or create one with a script.

A quick way to find hex codes actually supported would be to look at the source code to some of the 68K emulators out there, perhaps Cyclone, or one of the other table driven ones. Or a disassembler or two. I wrote a profiler that will annotate 68K listings with instruction timing using a instruction decoding table, and some disassemblers, it's not exactly hard to go through a 68K manual and build the list from scratch.

There are a couple of books that do a good job, but most of them will be out of print, or difficult/expensive to obtain depending on your location/situation.

A quick Google got me to this, in binary, which is arguably better than being in hex given the way the instructions decompose. So a whole bunch of fail in the searching skills test.


 Post subject:
PostPosted: Wed Mar 30, 2011 2:26 pm 
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1118
Beginning on page 8-5 all of the instructions for 680x0 are listed with the opcode shown in binary.

Prof. Kelly

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group