EASy68K  
It is currently Mon Dec 18, 2017 3:25 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Oct 01, 2017 12:43 pm 
Offline

Joined: Sun Oct 01, 2017 12:25 pm
Posts: 3
Hi, this is similar to a problem a few threads down on this page, however, with slightly different parameters.

I want to learn to code 68000 for Sega Mega Drive. This is my first proper go at assembler, and according to what I'm reading the first thing to do is test the assembler, which would also help me to understand the structure of an instruction.

I've downloaded the code from here: https://pastebin.com/kJC99PA7

When I hit the assemble button, I get Invalid syntax for line 6 and then for just about ever other line involving dc and move commands. You'll see from the code that these lines do contain tab/spaces before the command and the operands (As an aside, I note that hitting tab in EASy68K inserts three spaces rather than an actual tab). From tutorials that I'm reading, these lines are structured correctly.

Can anyone help a total newbie understand what's going on here, so I can actually learn something from this process? Thanks!


Top
 Profile  
 
PostPosted: Sun Oct 01, 2017 5:18 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
The syntax used in that source is not compatible with EASy68K.
Go to Help/Assembler Commands/Operators for a list of EASy68K operators, or refer to the Motorola 68000 Assembler Reference manual.
http://www.easy68k.com/paulrsm/doc/m68kmasm.txt

_________________
Prof. Kelly


Top
 Profile  
 
PostPosted: Sun Oct 01, 2017 9:16 pm 
Offline

Joined: Sun Oct 01, 2017 12:25 pm
Posts: 3
This source was constructed for a different assembler.
So it looks like I need to use $ instead of 0x for addresses, and ' instead of " for ASCII instructions.
Thanks!


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: No registered users and 3 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