URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [bench/] [asm/] [lodsto.S] - Diff between revs 2 and 36
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 36 |
Line 32... |
Line 32... |
;
|
;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;
|
;
|
start:
|
start:
|
LDI $2,R2
|
LDI $2,R2
|
LOD $5(PC),R0
|
LOD peripheral_memory_address(PC),R0
|
LOD $5(PC),R1
|
LOD $enable_all_interrupts_const(PC),R1
|
STO R1,(R0)
|
STO R1,(R0)
|
LDI $1(PC),R0
|
LDI infloop(PC),R0
|
infloop:
|
infloop:
|
MOV R0,PC
|
MOV R0,PC
|
MOV R0,PC
|
HALT ; We should never get here.
|
MOV R0,PC
|
peripheral_memory_address
|
.DAT 0xc0000000
|
WORD 0xc0000000
|
.DAT 0x8001ffff
|
enable_all_interrupts_const
|
|
WORD 0x8001ffff
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.