xgate risc instruction set

FreeEMS topics that aren't specific to hardware development or firmware development.
Post Reply
NinjaRider
DIP8 - Involved
Posts: 24
Joined: Wed Feb 22, 2012 4:51 am

xgate risc instruction set

Post by NinjaRider »

i have been looking for the risc instruction set for the xgate to see what capabilities it had. i found a doc that contain some of the instructions and opcodes for it. from reading over the doc i dont believe it is the whole instruction set. has anyone been able to find a complete instruction set. possibly with the pnuemonics and opcodes for it?
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: xgate risc instruction set

Post by MotoFab »

A search at Freescale.com for XGATE returns plenty of app notes you may find useful.

Here's some Assembly info:
XGATEASMRM : Motorola XGATE Assembler
http://cache.freescale.com/files/soft_d ... rch=1&sr=5

XGATECOMPRM : Freescale XGATE Compiler
http://cache.freescale.com/files/soft_d ... rch=1&sr=6
User avatar
SleepyKeys
LQFP144 - On Top Of The Game
Posts: 549
Joined: Mon Feb 11, 2008 10:52 pm
Location: Arizona
Contact:

Re: xgate risc instruction set

Post by SleepyKeys »

Basic instructions, just faster.
You snooze, you lose!
Peter
LQFP144 - On Top Of The Game
Posts: 268
Joined: Tue Dec 27, 2011 5:37 am

Re: xgate risc instruction set

Post by Peter »

My favorite thing about the xgate coprocessor is that it operates at twice the speed of the central processor so that it can access the memory in between the central processors clock cycles.
:-p
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: xgate risc instruction set

Post by Fred »

It only runs at that speed when running from RAM, btw.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
NinjaRider
DIP8 - Involved
Posts: 24
Joined: Wed Feb 22, 2012 4:51 am

Re: xgate risc instruction set

Post by NinjaRider »

after getting a copy of it some of its instructions arnt so basic. yes it does have a lot of basic instructions. No mul and div instructions thou. but you can still imul and idiv by multiples of 2.

i've never seen bit extraction instructions before.

@motofab - i saw those but they did not have how the binary is built, and not a detailed on what the opcodes are capable of.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: xgate risc instruction set

Post by Fred »

Check out Sean's binutils patch, I believe the test suite contains a full set of instruction variants, as does the help dump option.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
NinjaRider
DIP8 - Involved
Posts: 24
Joined: Wed Feb 22, 2012 4:51 am

Re: xgate risc instruction set

Post by NinjaRider »

i found it in the s12xgatev2.pdf. just took a lot of searching. time that i really didnt have the time for at the time when i asked.

i know it probably seems or sounds stupid that i ask when i can search myself. i usually do search for it. just end up not having enough time to find the answer im looking. i drive a truck and i dont always have access to internet when i have to shutdown at night.

by the test suite are you refering to the freescale suite?
i'll have to look at this patch you talk of...
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: xgate risc instruction set

Post by Fred »

No, part of the binutils patch.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply