New Paste :: Recent Pastes:: No Line Numbers
strcmp 680x0 by DELTRON
12345678910111213
// Compare two strings 680x0 assembly - DELTRON 6/23/2004 moveq #0,d7 moveq #0,d0 lea string1,a0 lea string2,a1 loop: cmp (a0)+,(a1)+ bne noteq dbra d7,loop equal: moveq #1,d0 noteq: rts