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

Subversion Repositories blue

[/] [blue/] [trunk/] [blue8/] [test.asm] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
        ;; This is a test program so it won't always
2
        ;; be efficient
3
        ;;
4
        ;; The expressions can be perl expressions
5
 
6
        ORG 0
7
value:  equ 0x10+2
8
offset: equ 2
9
start:  lda thevar
10
loop:   add sum
11
         xor flip
12
        not
13
        inca
14
        deca
15
        sta thevar              ; this is wasteful, but tests
16
        jmp start
17
 
18
thevar: DW value
19
sum:    DW offset*2
20
flip:   DW 0xFFFF
21
test:   DW _location_*2
22
        END
23
 

powered by: WebSVN 2.1.0

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