Is QEMU good for learning assembly language programming for ARM and PowerPC?

I want to learn assembly programming for PowerPC and ARM, but I can’t buy real hardware for this. I am thinking about using QEMU for this. However, I'm not sure that it emulates both architectures well enough, that I will compile and run my programs in my own assembler on it?

+5
source share
2 answers

QEMU works well for testing program corrections (i.e., will the code run on the actual ARM or PowerPC correctly), but this is bad for testing program effectiveness: emulation is not accurate, and the speed measured with QEMU cannot be reliable ( or even uncertainly) correlates with speed on true equipment.

In addition, QEMU will not catch unreceived memory accesses, which is not a problem for PowerPC emulation (PowerPC allows unrelated accesses), but it can be for ARM (unbalanced access, for example, reading a 32-bit word in RAM from an address that is not a multiple of 4 , will do fine with QEMU, but will throw an exception in the true ARM processor).

, QEMU ARM MIPS ( PowerPC, iBook eBay, ARM MIPS QEMU, , ). Debian ( , , ... ) " ", ARM/MIPS , , , - ( , - Linux). ( , ...), -. . buildroot ( -static, ).

+7

, Debian PowerPC ARM QEMU, , .

+1

All Articles