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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [code/] [pBlaze/] [wishbone/] [wishbone.asm] - Diff between revs 9 and 17

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 9 Rev 17
Line 24... Line 24...
                ; Test Wishbone Instructions
                ; Test Wishbone Instructions
                LOAD    value,          0x00    ; clear the register
                LOAD    value,          0x00    ; clear the register
                LOAD    value,          0x01    ;
                LOAD    value,          0x01    ;
                LOAD    value,          0x02    ;
                LOAD    value,          0x02    ;
 
 
                WBWRSING        total_high,     counter_port    ; Result will be 496 (1F0 hex)
                WBWRSING        total_high,     0x04    ; Result will be 496 (1F0 hex)
;               WBWRSING        total_low,      waveform_port
 
 
 
                LOAD    value,          0x03    ;
                LOAD    value,          0x03    ;
                LOAD    value,          0x04    ;
                LOAD    value,          0x04    ;
                LOAD    value,          0x05    ;
                LOAD    value,          0x05    ;
 
                WBWRSING        total_low,      0x04
 
                LOAD    value,          0x06    ;
 
                LOAD    value,          0x07    ;
 
                LOAD    value,          0x08    ;
 
                WBRDSING        total_high,     0x01    ; Result will be 496 (1F0 hex)
 
                LOAD    value,          0x0A    ;
 
                LOAD    value,          0x0B    ;
 
                LOAD    value,          0x0C    ;
 
 
end:
end:
                JUMP    end
                JUMP    end
                ;
                ;
 
 
                ; Subroutine called recursively
                ; Subroutine called recursively

powered by: WebSVN 2.1.0

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