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

Subversion Repositories blue

[/] [blue/] [trunk/] [blue8/] [test.asm] - Rev 2

Compare with Previous | Blame | View Log

        ;; This is a test program so it won't always
        ;; be efficient
        ;; 
        ;; The expressions can be perl expressions

        ORG 0
value:  equ 0x10+2
offset: equ 2
start:  lda thevar
loop:   add sum
         xor flip
        not
        inca
        deca
        sta thevar              ; this is wasteful, but tests
        jmp start
        
thevar: DW value
sum:    DW offset*2
flip:   DW 0xFFFF
test:   DW _location_*2
        END
                                

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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