×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Where can I find Motorola as format?

Where can I find Motorola as format?

Where can I find Motorola as format?

(OP)
I have a large (40,000 line) assembly program for the M680040 processor which I am porting to run on VxWorks.  Trouble is VxWorks uses C language calls to access system services.  I can write a C routine calling a service and compile it with an option that produces a .s assembly file, but the assembly is in as format while my code is in asm format.

It's been years since I had an as assembler and I've forgotten the nuances of the as format.  Does anyone know where I can find a reference on the as format assemble language for the Motorola M68k processor family?

PaperPilot

RE: Where can I find Motorola as format?

(OP)
These reference all use the asm format.  Here is an example of what I am seeing:

    .global _helloWorld
    _hellowWorld:
      pea a6@
      movel sp.a6
      pea 20:w
      jbsr _exit
      unlk a6
      rts


For example, the asm format does not have a jbsr operation.  There is:

    jsr - jump to subroutine
    bsr - branch to subroutine

An is the operand a6@ the same as (a6)?  I don't know.

PaperPilot
Simulation programmer
Shuttle Training Aircraft

RE: Where can I find Motorola as format?

in that case i have no idea.

maybe the MIT to Motorola and Motorola to MIT conversion program here can help you?

ftp://ftp.luth.se/pub/misc/motorola/m68k.

If somethings hard to do, its not worth doing - Homer Simpson

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close