LP5569 Programming
32
SNVU564A – July 2017 – Revised August 2017
Copyright © 2017, Texas Instruments Incorporated
Using the BOOST-LP5569EVM Evaluation Module
3.6
Instruction Set Details
Instructions are executable statements. The LASM assembler translates text-based language source
instructions into hex-based executable codes. This section provides the syntax with detailed examples for
all the LP5569 instructions supported by the LASM assembler.
Table 5. LED Mapping Instructions
INSTRUCTION
SYNTAX
FUNCTION
EXAMPLE
16-BIT ASSEMBLED
BIT SEQUENCE
ASSEMBLED CODE
(HEX)
load_start address
Address is a label which
specifies where to find
the first row.
Defines the start
address of the mapping-
data table. The
mapping-data-table start
address is restricted to
the lower half of
memory.
load_start row1 ;
The first row can be
found at the address
marked with row1.
1001 1110 0000 0000
Assumed that row1
points to addr 00h.
9E00
map_start address
Address is a label which
specifies where to find
the first row.
Defines the start
address of the mapping-
data table and sets the
row active.
map_start row1 ;
The first row can be
found at the address
marked with row1.
1001 1100 0000 0000
9C00
load_end address
Address is a label which
specifies where to find
the first row.
Defines the last address
of the mapping-data
table. The mapping-
data-table end address
is restricted to the lower
half of memory.
load_end row9 ;
The last row can be
found at the address
marked with row9.
1001 1100 1000 1000
9C88
map_sel output
Output is a constant (0
to 9); 10 through 127 =
no drivers selected.
Connects one and only
one LED output to an
engine.
map_sel 1 ;
D1 output is connected
to the engine.
1001 1101 0000 0001
9D01
map_clr
Clears engine-to-driver
mapping.
map_clr
1001 1101 0000 0000
9D00
map_next
Sets the next row active
in the mapping table.
map_next
1001 1101 1000 0000
9D80
map_prev
Sets the previous row
active in the mapping
table.
map_prev
1001 1101 1100 0000
9DC0
load_next
The index pointer is set
to point to the next row
in the mapping-data
table.
load_next
1001 1101 1000 0000
9D81
load_prev
The index pointer is set
to point to the previous
row in the mapping-data
table.
load_prev
1001 1101 1100 0000
9DC1
load_addr address
Address is a label which
specifies the row to
which the pointer is to
be moved.
Sets the index pointer to
point to the mapping-
data-table row defined
by address. An SRAM
address containing
mapping data is
restricted to lower half of
memory.
load_addr row2
1001 1111 0000 0001
9F01
map_addr address
Address is a label which
specifies the row to
which the pointer is to
be moved.
Sets the index pointer to
point to the mapping-
data-table row defined
by address and sets the
row active. An SRAM
address containing
mapping data is
restricted to lower half of
memory.
map_addr row2
1001 1111 1000 0001
9F81