Main Page and SpinAsm XOR: Difference between pages

From PedalPCB Wiki
(Difference between pages)
Jump to navigation Jump to search
Tag: Reverted
 
(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...")
 
Line 1: Line 1:
This is the testing area for the '''PedalPCB Wiki'''.  The information listed here is for experimental purposes only.
==XOR==
{| class="wikitable"
|+
!Mnemonic
!Operation
!Instruction coding
|-
|XOR
|ACC ^ MASK
|MMMMMMMMMMMMMMMMMMMMMMMM000010000
|}


== Component References ==
======Description======
* [[Potentiometers]]
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)
* [[LEDs]]
{| class="wikitable"
* [[Jacks]]
|+
* [[Switches]]
!Name
** [[Momentary vs Latching]]
!Width
** [[Normally Open vs Normally Closed]]
!Entry formats, range
** [[Make before Break vs Break before Make]]
|-
** [[ON/ON]]
|M
** [[ON/OFF/ON]]
|24 Bit
** [[ON/ON/ON]]
|Binary
** [[SPST]]
Hex ($000000 - $FFFFFF)
** [[SPDT]]
Symbolic
** [[DPDT]]
|}
** [[3PDT]]
** [[4PDT]]
** [[Rotary Switches]]
* [[SMD Component Lookup]]
* [[EIA-96 SMD Resistor Codes]]
* [[Op Amp Slew Rates]]
* [[Resistor Color Code Chart]]


== Wiring Diagrams ==
======Syntax======
* [[Standard True-Bypass Wiring]]
XOR M
* [[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]]


== To Do ==
======Coding Example======
* Basic Electronics Theory
<syntaxhighlight line="1">
* Resistors
XMASK EQU  $AAAAAA                          ;
* Capacitors
                                            ;
* Diodes
;-------------------------------------------
* Transistors
sof  0,0                                    ; Clear all bits within ACC
* Integrated Circuits
xor  $0                                    ; Set all ACC bits
* Enclosures
xor  %01010101_01010101_01010101            ; Invert all even numbered bits
* Switches
xor  XMASK                                  ; Invert all odd numbered bits
* [[PCB list by SKU]]
</syntaxhighlight>
* [[JFET chart]]
 
== SpinAsm Reference ==
* [[SpinAsm SOF]]
* [[SpinAsm AND]]
* [[SpinAsm OR]]

Revision as of 20:41, 6 January 2023

XOR

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)

Name Width Entry formats, range
M 24 Bit Binary

Hex ($000000 - $FFFFFF) Symbolic

Syntax

XOR M

Coding Example
XMASK EQU  $AAAAAA                          ; 
                                            ; 
;-------------------------------------------
sof  0,0                                    ; Clear all bits within ACC 
xor  $0                                     ; Set all ACC bits
xor  %01010101_01010101_01010101            ; Invert all even numbered bits 
xor  XMASK                                  ; Invert all odd numbered bits