SpinAsm XOR and Main Page: Difference between pages

From PedalPCB Wiki
(Difference between pages)
Jump to navigation Jump to search
(Created page with "==XOR== {| class="wikitable" |+ !Mnemonic !Operation !Instruction coding |- |XOR |ACC ^ MASK |MMMMMMMMMMMMMMMMMMMMMMMM000010000 |} ======Description====== XOR will perform a bit wise "xor" of the current ACC and the 24­bit MASK specified within the instruction word. The instruction will invert ACC provided MASK equals $FFFFFF. (see also the pseudo opcode section) {| class="wikitable" |+ !Name !Width !Entry formats, range |- |M |24 Bit |Binary Hex ($000000 - $FFFFFF) Sy...")
 
Tag: Reverted
 
Line 1: Line 1:
==XOR==
This is the testing area for the '''PedalPCB Wiki'''.  The information listed here is for experimental purposes only.
{| class="wikitable"
|+
!Mnemonic
!Operation
!Instruction coding
|-
|XOR
|ACC ^ MASK
|MMMMMMMMMMMMMMMMMMMMMMMM000010000
|}


======Description======
== Component References ==
XOR will perform a bit wise "xor" of the current ACC and the 24­bit MASK specified within the instruction word. The instruction will invert ACC provided MASK equals $FFFFFF. (see also the pseudo opcode section)
* [[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 ==
XOR 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
XMASK EQU  $AAAAAA                          ;
* Resistors
                                            ;
* Capacitors
;-------------------------------------------
* Diodes
sof  0,0                                    ; Clear all bits within ACC
* Transistors
xor  $0                                    ; Set all ACC bits
* Integrated Circuits
xor  %01010101_01010101_01010101            ; Invert all even numbered bits
* Enclosures
xor  XMASK                                  ; Invert all odd numbered bits
* Switches
</syntaxhighlight>
* [[PCB list by SKU]]
* [[JFET chart]]
 
== SpinAsm Reference ==
* [[SpinAsm SOF]]
* [[SpinAsm AND]]
* [[SpinAsm OR]]
* [[SpinAsm XOR]]

Revision as of 20:41, 6 January 2023