我有这个代码
start:
ldr r0,=0x12345678
ldr r1,=0x00002000
str r0,[r1]
ldr r2,[r1]
stop: b stop
将其编译为二进制文件并将其存储在qemu flash中。 当我启动qemy时,我收到此警告,寄存器r2为0:
QEMU 0.12.3 monitor - type 'help' for more information
(qemu) pflash_write: Unimplemented flash cmd sequence (offset 00002000, wcycle 0x0 cmd 0x0 value 0x12345678)
info registers
R00=12345678 R01=00002000 R02=00000000 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=00000010
PSR=400001d3 -Z-- A svc32
有什么问题? 谢谢