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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [tb/] [arch/] [arch-2rom.s] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sinclairrf
; Copyright 2013, Sinclair R.F., Inc.
2
;
3
; Validate contents of two ROMs
4
 
5
.include init.s
6
 
7
.main
8
  ; Read the contents of the first ROM
9
  ${size['rom_z']-1} :read_z dup .fetch(rom_z) drop .jumpc(read_z,1-) drop
10
 
11
  ; Read the contents of the second ROM
12
  ${size['rom_y']-1} :read_y dup .fetch(rom_y) drop .jumpc(read_y,1-) drop
13
 
14
  ; Terminate the simulation.
15
  .outstrobe(O_DONE_STROBE)
16
 
17
  ; Sit in an infinite loop.
18
  :infinite .jump(infinite)

powered by: WebSVN 2.1.0

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