MCF52235 - BRAS with gcc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF52235 - BRAS with gcc

1,865 Views
Petter
Contributor II
I've noticed that gcc will produse BRAS (some form of BCC) instructions when compiled with the -mcpu=52235 option. But I can't seem to find this instruction documented anywhere, at least not in the CFPRM or the MCF52235RM?

--
Alban Edit: Product must show in subject line + explanatory subject

Message Edited by Alban on 2007-04-17 11:40 AM

Labels (1)
0 Kudos
2 Replies

230 Views
Petter
Contributor II
Of course it is. Here's the output from m68k-elf-objdump:

208a: 6036 bras 20c2

Been reading more RISC code than CISC code lately. I erroneously assumed that 6 was BCC where 0 was some new conditional option. But 60 is BRA as you suggest. Thanks.

0 Kudos

230 Views
CompilerGuru
NXP Employee
NXP Employee
Is it BRAS or BRA.S?
Anyway, I would check the code pattern it generates and compare it with the BRA.S (bra.b) one, sounds like just an alias.

Daniel
0 Kudos