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

Subversion Repositories natalius_8bit_risc

[/] [natalius_8bit_risc/] [trunk/] [assembler/] [example.asm] - Blame information for rev 10

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

Line No. Rev Author Line
1 2 fabioandre
                csr negro
2
end             jmp     end
3
 
4
negro   stm r0,32
5
                ldi r1,80
6
                ldi r2,60
7
                ldi r3,0
8
                ldi r4,0
9
nextc   cmp r4,r1
10
                jpz inc_fil
11
                stm r3,64
12
                stm r4,32
13
                adi r4,1
14
                jmp nextc
15
inc_fil ldi r4,0
16
                cmp r3,r2
17
                jpz fneg
18
                adi r3,1
19
                jmp nextc
20
fneg    ret
21
 
22
 

powered by: WebSVN 2.1.0

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