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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [example/] [led/] [led-alternate.s] - Blame information for rev 11

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

Line No. Rev Author Line
1 2 sinclairrf
; Copyright 2012, Sinclair R.F., Inc.
2
;
3
; Example LED flasher using 8-bit data
4
 
5
; push the LED setting onto the stack
6
 
7
 
8
; target for the outer loop
9
:l00
10
 
11
; update the LED setting
12
1 ^ dup .output(C_LED)
13
 
14
; consume 256 iteractions of the clock cycle consumpsion
15
 
16
  ; consume 256*6+2 clock cycles
17
 
18
1 - dup .jumpc(l01) drop
19
 
20
; outer loop
21
.jump(l00)

powered by: WebSVN 2.1.0

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