Hi Douglas-san,

Thanks for your advise. I'll refer them on use of assembler in future.
At this time, the main reason why I have to use assembler is that I'd like to
avoid interrupt onwhile changing Interrupt Mask Register.
As you know, 0xfffff305 is Dragonball Interrupt Mask Register address.

"Douglas>00000000: 4E56 0000          link      a6,#0
"Douglas>00000004: 1038 F305          move.b    0xfffff305,d0

I guess that if some Interrupt occured here, unfortunately the handler change
mask!

"Douglas>00000008: 0240 00FB          andi.w    #0xfb,d0
"Douglas>0000000C: 11C0 F305          move.b    d0,0xfffff305

Here writing value is not correct.

"Douglas>00000010: 4E5E               unlk      a6
"Douglas>00000012: 4E75               rts

Thanks, Ciao!

Kazushige Matsui
-------------------------------------------------------
Network Product Development, Application Design, Yasu IBM-Japan
Tie     :  1617-8374
TEL    :  077-587-8374
FAX    :  077-587-8484
e-mail :  [EMAIL PROTECTED]
★★★★ お知らせ: 電話番号・FAX番号・内線がかわりました! ★★★★

Reply via email to