MCF52235 - BRAS with gcc

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCF52235 - BRAS with gcc

2,409 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

774 次查看
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 项奖励
回复

774 次查看
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 项奖励
回复