EASy68K  
It is currently Mon May 25, 2020 5:15 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Apr 08, 2020 7:12 pm 
Offline
User avatar

Joined: Wed Apr 08, 2020 7:07 pm
Posts: 1
Hi.

Can someone explain to me why the following code gives me a syntax error?

Code:
00001004  4A2D 0804                 15      tst.b ($804, A5)
Line 16 ERROR: Invalid syntax
00001008                            16      tst.b ($c04, A5)
00001008  4A2D 0D04                 17      tst.b ($d04, A5)

Shouldn't tst.b ($c04, A5) result in 4A2D 0C04?


Top
 Profile  
 
PostPosted: Thu Apr 23, 2020 8:19 am 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1122
The correct syntax is:
Code:
00001004  4A2D 0804                 11      tst.b $804(a5)
00001008  4A2D 0C04                 12      tst.b $c04(a5)
0000100C  4A2D 0D04                 13      tst.b $d04(a5)

_________________
Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 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