|
Message
From: John.Smith@y...
Date: Wed, 29 Oct 2003 04:14:42 +0100
Subject: [openrisc] Instruction l.mfspr ouput is not expected!
I tried the simple program in modelsim as the following.
l.addi r3,r0,0x0004
l.mtspr r5,r0,17
l.sw 0(r3),r5
It should be 0x8001 on dwb_dat_o,but it appeared 0x0000.
The l.mtspr instruction seem not to work.
Could anyone explain it to me?I don't know what mistakes I did.
Thanks and Regards!
|
 |