EASy68K  
It is currently Fri Jun 05, 2020 5:01 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 68000 HEX instructions
PostPosted: Mon Jul 23, 2012 3:52 pm 
Offline

Joined: Tue May 01, 2012 2:10 pm
Posts: 8
Location: nkana
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 23, 2012 5:13 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1122
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

_________________
Prof. Kelly


Top
 Profile  
 
PostPosted: Thu Jul 26, 2012 5:28 pm 
Offline

Joined: Mon Jul 26, 2010 11:43 pm
Posts: 198
Location: Aurora, IL
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.


Top
 Profile  
 
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: Google Adsense [Bot] and 11 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