source: buchla-68k/alcyon/strcpy.s@ 0170798

Last change on this file since 0170798 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Added Alcyon C reference output.

  • Property mode set to 100644
File size: 364 bytes
RevLine 
[7bf3856]1.globl _strcpy
2.text
3_strcpy:
4~~strcpy:
5~s1=R13
6~s2=R12
7link R14,#0
8movem.l R7-R7/R11-R13,-(sp)
9~os1=R11
10*line 17
11move.l 8(R14),R13
12*line 17
13move.l 12(R14),R12
14*line 17
15move.l R13,R11
16*line 19
17bra L4
18L3:L4:
19*line 20
20move.b (R12)+,(R13)+
21bne L3
22L2:
23*line 22
24move.l R11,R0
25bra L1
26L1:tst.l (sp)+
27movem.l (sp)+,R11-R13
28unlk R14
29rts
30.data
Note: See TracBrowser for help on using the repository browser.