View Single Post
  #427 (permalink)  
Old 18th Oct 2009, 2:44 pm
sid6581's Avatar
sid6581 sid6581 is offline
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default

Quote:
Originally Posted by nlite View Post
240 MIPS versus 704 MIPS: why bother with the ARM :-)

I think I found a few ZSP500 opcodes:

Code:
f801 0100  mov r1,0x100
5d01       st r0,r1
5521       ld r2,r1
ae01       add r0,1
f000 fffd  br -3
0000       nop
This is a bit of silly code to illustrate some debugger commands. In C-like notation: r1 = 0x100; while (1) { *r1 = r0; r2 = *r1; r0 += 1; }

The interesting thing is that mov and br seem to be 32-bit instructions here.
WOW ! you are on something.
You are right, i read somewhere that ZSP500 instructions are a mix of 16 bits and 32 bits instructions.
Where/how did you find this code ???
__________________
Rockchip Powah !
Reply With Quote
Sponsored Links