README (1146B)
1 /* 2 * 3 * 4 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 5 * 6 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 7 */ 8 9 This directory contains assembler code examples for the 5605 LED 10 processor. Contained herein are: 11 12 Directory Contents 13 14 ex1.asm to ex5.asm -- 15 Progressively more complicated examples of LED driver programs. 16 Note: Each example assumes a hypothetical LED scan chain length 17 and configuration. These examples will run on the 5605 SDK, but 18 will not light LEDs as expected. 19 20 testasm.asm -- 21 Test source. Contains all legal instruction variations in 22 numeric order. Assemble the source, look at the listing and 23 make sure all opcodes are assigned properly. 24 25 sdk5605.asm -- 26 Default LED program for the BCM5605 SDK. 27 This program is correct for the BCM5605 SDK where there are 28 104 bits in the LED scan chain, two per tri-color LED. 29 Link up/down information is derived from special memory 30 locations written by the main CPU. 31 See comments in the source code for a description of LED functions.