The program code in assembly language:
...
Loop: xor.b #0b01000001,&P1OUT
call #Wait
jmp Loop
...
After compilation, see:
Loop: xor.b #0b01000001,&P1OUT
c018: c2 e3 21 00 xor.b #0, &0x0021 ;r3 As==00
0000c01c <.Loc.16.1>:
call #Wait
c01c: b0 12 22 c0 call #49186 ;#0xc022
0000c020 <.Loc.17.1>:
jmp Loop
c020: fb 3f jmp $-8 ;abs 0xc018
Question: why on the label 'Loop' occurred loading #0 instead of #0x41?
Thanks.
------------------------------
Best regards,
Eugene Chaban / Hardware Engineer
JV Pronan, Ukraine
Tel: +380 61 2246871
Fax: +380 61 2246871
mailto:[email protected]
www.pronan.zp.ua
---
Это сообщение свободно от вирусов и вредоносного ПО благодаря защите от вирусов
avast!
http://www.avast.com
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils