EASy68K
http://www.easy68k.com/EASy68Kforum/

68000 HEX instructions
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=6&t=1125
Page 1 of 1

Author:  romario [ Mon Jul 23, 2012 3:52 pm ]
Post subject:  68000 HEX instructions

Is there any resource on the net that provide HEX instructions for the 68000? Its quite cumbersome encoding instructions in binary and then HEX. Imagine you are writing 100 lines of codes and each line has to be encoded in HEX.

What is the equivalent in HEX for the following:

MOVE.W #$FFFF, D0
ADD.L D5, (A2)+
BTST.B #2, $C00000

Author:  profkelly [ Mon Jul 23, 2012 5:13 pm ]
Post subject: 

Load the .L68 file that EASy68K creates when it assembles a program. The hex values are listed between the address and line number.

Code:
00001000  303C FFFF                 10          MOVE.W #$FFFF, D0
00001004  DB9A                      11          ADD.L D5, (A2)+
00001006  0839 0002 00C00000        12          BTST.B #2, $C00000

Author:  clive [ Thu Jul 26, 2012 5:28 pm ]
Post subject:  Re: 68000 HEX instructions

romario wrote:
Its quite cumbersome encoding instructions in binary and then HEX. Imagine you are writing 100 lines of codes and each line has to be encoded in HEX.


Sounds like a fantastic job for a computer. Even as recent as 30 years ago we had macro assemblers. The only reason to do it by hand is for the exercise.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/