OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [asm/] [zipdhry.S] - Diff between revs 152 and 202

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 152 Rev 202
Line 250... Line 250...
        ADD     4,R1
        ADD     4,R1
        ADD     4,R0
        ADD     4,R0
        BRA copy_next_char
        BRA copy_next_char
 
 
end_strcpy:
end_strcpy:
 
        STO     R2,(R0)
        CMP     0,R2
        CMP     0,R2
        STO.NZ  R2,(R0)
 
        CMP.NZ  0,R3
 
        STO.NZ  R3,1(R0)
        STO.NZ  R3,1(R0)
        CMP.NZ  0,R4
        CMP.NZ  0,R3
        STO.NZ  R4,2(R0)
        STO.NZ  R4,2(R0)
        CMP.NZ  0,R5
        CMP.NZ  0,R4
        STO.NZ  R5,3(R0)
        STO.NZ  R5,3(R0)
 
 
        LOD     (SP),R2
        LOD     (SP),R2
        LOD     1(SP),R3
        LOD     1(SP),R3
        LOD     2(SP),R4
        LOD     2(SP),R4

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.