hi-6131pqtf QuickLogic Corp, hi-6131pqtf Datasheet - Page 60

no-image

hi-6131pqtf

Manufacturer Part Number
hi-6131pqtf
Description
Mil-std-1553 / Mil-std-1760 3.3v Bc / Mt / Rt Multi-terminal Device
Manufacturer
QuickLogic Corp
Datasheet
Name
WMP
WMI
DSZ
FLG
Instruction
Write
Immediate
Value to WMI
Memory
Pointer
Conditional
Write
Immediate
Value to
Memory
Conditional
Decrement
RAM
Specified
by Memory
Address,
Skip the Next
Instruction if
Zero
Conditional
General
Purpose Flag
Bits
Unconditional
Parameter
Parameter
Word Bit
Word Bit
Op
Code
0x1B
0x1C
0x1D
0x0C
GP7
H7
15 14 13 12 11 10 9
L7
7
High Byte: Clear GP Bits 7-0
Low Byte: Set GP Bits 7-0
Figure 4. Bus Controller Flag Operation
H6 H5
L6
Parameter
Immediate Value
Immediate Value
Memory Address
Word value sets,
clears or toggles
General Purpose
Flag Bits
6
L5
5
H4
L4
4
HOLT INTEGRATED CIRCUITS
H3
L3 L2
3
HI-6130, HI-6131
H2
2
H1
L1
1
GP0
H0
L0
8
0
Function
If the Condition Code evaluates True, write the parameter-
specified immediate value to the dedicated WMI memory
pointer (a register not accessible by the host). Otherwise
(Condition Code Evaluates False), continue execution at the
next op code in the BC Instruction List.
Immediate value must exceed 0x4F or WMP instruction has
no effect. After reset, the default WMI memory pointer value
is 0x0050.
If the Condition Code evaluates True, write the parameter-
specified immediate value to 0x0050 or the memory
address specified by the last WMP instruction performed.
Otherwise (Condition Code Evaluates False), continue
execution at the next op code in the BC Instruction List.
If the Condition Code evaluates True, the memory address
specified by the parameter word is decremented. If the new
value is non-zero, the next instruction is executed. If the
decremented value is zero, the next instruction is skipped.
Otherwise (Condition Code Evaluates False), continue
execution at the next op code in the BC Instruction List.
The primary purpose of DSZ is N-iteration repeating
execution loops. N is initialized with a WMI op code, and the
instruction following DSZ is a JMP to top-of-loop.
The parameter word value is used to set, clear, or toggle
the lower byte in the BC General Purpose Flag Register
0x0037. The upper and lower bytes in the parameter word
provide 2-bit arguments that modify each of the eight GP
flag bits, as illustrated below.
60
H-L Bit Combinations Modify GP Flag Bits
Hx =
Lx =
Change
No
0
0
GPx
Set
0
1
Clear
GPx
1
0
Toggle
GPx
1
1

Related parts for hi-6131pqtf