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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [asm/] [zipdhry.S] - Diff between revs 74 and 86

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

Rev 74 Rev 86
Line 164... Line 164...
//      dhrystone();
//      dhrystone();
// }
// }
// #define      LOAD_ADDRESS    entry+PC
// #define      LOAD_ADDRESS    entry+PC
#define LOAD_ADDRESS    lcl_strcpy+PC
#define LOAD_ADDRESS    lcl_strcpy+PC
entry:
entry:
        LDI     0x0c000010,R0
        ; LDI   0x0c000010,R0
        LDI     dev.scope.cpu,R1
        ; LDI   dev.scope.cpu,R1
        STO     R0,(R1)
        ; STO   R0,(R1)
        ;
        ;
        MOV     top_of_stack(PC),uSP
        MOV     top_of_stack(PC),uSP
        MOV     entry(PC),uR12
        MOV     entry(PC),uR12
        ; Store  our tick counter in R1
        ; Store  our tick counter in R1
        LDI     sys.ctr.mtask,R1
        LDI     sys.ctr.mtask,R1

powered by: WebSVN 2.1.0

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