0 Members and 1 Guest are viewing this topic.
stc vbr,R1mov.l bar,R2mov.l bur,R3bsr nextnext: add R1,R2mov.l R3,@-R2sts pr,R4.word 0x7408.word 0xC301nopnopnopbar: .long 0x00000100bur: .long 0x0000000Bnopnopnopnop/* comments*/-----------------------Assembled code: 0122 D205 D305 BFFF 321C 2236 042A 7408 C301 0009 0009 0009 0000 0100 0000 000B 0009 0009 0009 0009
stc.l sr,@-R15mov #0x01,R9mov #0x01,R10add R8,R9add R8,R10mov #0x01,R13Loop: mov.l @R9+,R11mov.l @R10+,R12cmp/eq R11,R1bt/s jumpadd #0x29,r13tst R13,R13bt/s returnnopbra jumpnopjump:nopreturn:nopnop/* Comment */-------------Assembled code:4F03E901EA01398C3A8CED01Loop: 6B966CA631B08D057D292DD88D030009A0000009jump:0009return:00090009