SpinAsm OR and Main Page: Difference between pages

From PedalPCB Wiki
(Difference between pages)
Jump to navigation Jump to search
(Created page with "==OR== {| class="wikitable" |+ !Mnemonic !Operation !Instruction coding |- |OR |<nowiki>ACC | MASK </nowiki> |MMMMMMMMMMMMMMMMMMMMMMMM000001111 |} ======Description====== OR will perform a bit wise "or" of the current ACC and the 24­bit MASK specified within the instruction word. The instruction might be used to load a constant into ACC provided ACC contains $000000 {| class="wikitable" |+ !Name !Width !Entry formats, range |- |M |24 Bit |Binary Hex ($000000 - $FFFFFF)...")
 
Tag: Reverted
 
Line 1: Line 1:
==OR==
This is the testing area for the '''PedalPCB Wiki'''.  The information listed here is for experimental purposes only.
{| class="wikitable"
|+
!Mnemonic
!Operation
!Instruction coding
|-
|OR
|<nowiki>ACC | MASK </nowiki>
|MMMMMMMMMMMMMMMMMMMMMMMM000001111
|}


======Description======
== Component References ==
OR will perform a bit wise "or" of the current ACC and the 24­bit MASK specified within the instruction word. The instruction might be used to load a constant into ACC provided ACC contains $000000
* [[Potentiometers]]
{| class="wikitable"
* [[LEDs]]
|+
* [[Jacks]]
!Name
* [[Switches]]
!Width
** [[Momentary vs Latching]]
!Entry formats, range
** [[Normally Open vs Normally Closed]]
|-
** [[Make before Break vs Break before Make]]
|M
** [[ON/ON]]
|24 Bit
** [[ON/OFF/ON]]
|Binary
** [[ON/ON/ON]]
Hex ($000000 - $FFFFFF)
** [[SPST]]
Symbolic
** [[SPDT]]
|}
** [[DPDT]]
** [[3PDT]]
** [[4PDT]]
** [[Rotary Switches]]
* [[SMD Component Lookup]]
* [[EIA-96 SMD Resistor Codes]]
* [[Op Amp Slew Rates]]
* [[Resistor Color Code Chart]]


======Syntax======
== Wiring Diagrams ==
OR M
* [[Standard True-Bypass Wiring]]
* [[2-in-1 Pedal Wiring]]
* [[2-in-1 Pedal Wiring (Single Footswitch)]]
* [[2-in-1 Pedal Wiring (AB)]]
* [[3PDT Order Switch Wiring]]
* [[Expression Control Wiring]]
* [[DPDT ON/ON/ON as 3-way Switch]]


======Coding Example======
== To Do ==
<syntaxhighlight line="1">
* Basic Electronics Theory
OMASK EQU  $0F0000                          ;
* Resistors
                                            ;
* Capacitors
;-------------------------------------------
* Diodes
sof  0,0                                    ; Clear all bits within ACC
* Transistors
or $1                                      ; Set LSB
* Integrated Circuits
or %10000000_00000000_00000000              ; Set MSB
* Enclosures
or OMASK                                    ; Set ACC[19..16]  
* Switches
and  %S=[15..8]                             ; Set ACC[15..8]
* [[PCB list by SKU]]
</syntaxhighlight>
* [[JFET chart]]
 
== SpinAsm Reference ==
* [[SpinAsm SOF]]
* [[SpinAsm AND]]
* [[SpinAsm OR]]

Revision as of 20:39, 6 January 2023