Hi everyone.
To complete my Masters Degree I made a piece of software that simulated a multicore processor (written in java.)
The simulator "executes" a cutdown version of the ARM7 instrucion set (I don't need software interrupt instructions or superuser mode instructions, just basic jump, add, subtract, etc)
To cut to the chase, when testing my software I had to hand write programs. This involved a lot of time looking at the instruction set format and writing down the appropriate value for each of the bits. I would then take this 32 bit list and convert it drectly into an integer. (Using the integer means I can extract the data back out quickly during execution time using bitwise operations and shifts.)
I can easily find tools to change C code into ARM7, but I can't find anything that will change the ARM7 code into an integer.
Can anyone help?
Originally the simulator could reach about 500Hz, which was OK. But I have recently made a, literally, tiny modification and it has made the speed go up to 46500Hz!
With this new speed, I would like to test the simulator with larger programs, hence the need for a faster way to create them!
Many thanks in advance.
To complete my Masters Degree I made a piece of software that simulated a multicore processor (written in java.)
The simulator "executes" a cutdown version of the ARM7 instrucion set (I don't need software interrupt instructions or superuser mode instructions, just basic jump, add, subtract, etc)
To cut to the chase, when testing my software I had to hand write programs. This involved a lot of time looking at the instruction set format and writing down the appropriate value for each of the bits. I would then take this 32 bit list and convert it drectly into an integer. (Using the integer means I can extract the data back out quickly during execution time using bitwise operations and shifts.)
I can easily find tools to change C code into ARM7, but I can't find anything that will change the ARM7 code into an integer.
Can anyone help?
Originally the simulator could reach about 500Hz, which was OK. But I have recently made a, literally, tiny modification and it has made the speed go up to 46500Hz!
With this new speed, I would like to test the simulator with larger programs, hence the need for a faster way to create them!
Many thanks in advance.