0

我有这个代码

start:
ldr r0,=0x12345678
ldr r1,=0x00002000
str r0,[r1]
ldr r2,[r1]
stop: b stop

将其编译为二进制并将其存储在 qemu 闪存中。当我启动 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

问题是什么?谢谢

4

0 回答 0