From WikiChip
Editing nec/μcom-4/isa
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 31: | Line 31: | ||
|- | |- | ||
| STC || 1B || 1 || 1 || C ← 1 || Set carry flag || | | STC || 1B || 1 || 1 || C ← 1 || Set carry flag || | ||
− | |- style="background: # | + | |- style="background: #ccffcc;" |
| XC || 1A || 1 || 1 || C ↔ C' || Exchange carry flag with carry save || | | XC || 1A || 1 || 1 || C ↔ C' || Exchange carry flag with carry save || | ||
− | |- style="background: # | + | |- style="background: #ccffcc;" |
| RAR || 30 || 1 || 1 || C → A<sub>CC</sub> → C || Rotate accumulator right through carry flag || | | RAR || 30 || 1 || 1 || C → A<sub>CC</sub> → C || Rotate accumulator right through carry flag || | ||
− | |- style="background: # | + | |- style="background: #ccffcc;" |
| INM || 1D || 1 || 1 + skip || (DP) = (DP) + 1 || Increment RAM content pointed by DP, skip if result is zero || on (DP) = 0 | | INM || 1D || 1 || 1 + skip || (DP) = (DP) + 1 || Increment RAM content pointed by DP, skip if result is zero || on (DP) = 0 | ||
− | |- style="background: # | + | |- style="background: #ccffcc;" |
| DEM || 1F || 1 || 1 + skip || (DP) = (DP) - 1 || Decrement RAM content pointed by DP, skip if result is 0Fh || on (DP) = 0Fh | | DEM || 1F || 1 || 1 + skip || (DP) = (DP) - 1 || Decrement RAM content pointed by DP, skip if result is 0Fh || on (DP) = 0Fh | ||
|- | |- | ||
| AD || 08 || 1 || 1 + skip || A<sub>CC</sub> ← A<sub>CC</sub> + (DP) || Add RAM content pointed by DP to accumulator, skip if overflow || on overflow | | AD || 08 || 1 || 1 + skip || A<sub>CC</sub> ← A<sub>CC</sub> + (DP) || Add RAM content pointed by DP to accumulator, skip if overflow || on overflow | ||
|- | |- | ||
− | | ADS || 09 || 1 || 1 + skip || A<sub>CC</sub> ← A<sub>CC</sub> + (DP) + C | + | | ADS || 09 || 1 || 1 + skip || A<sub>CC</sub> ← A<sub>CC</sub> + (DP) + C; C ← 1 on overflow || Add RAM content pointed by DP with carry to accumulator, if overflow set carry flag and skip || on overflow |
|- | |- | ||
− | | ADC || 19 || 1 || 1 || A<sub>CC</sub> ← A<sub>CC</sub> + (DP) + C | + | | ADC || 19 || 1 || 1 || A<sub>CC</sub> ← A<sub>CC</sub> + (DP) + C; C ← 1 on overflow || Add RAM content pointed by DP with carry to accumulator, if overflow set carry flag || |
|- | |- | ||
| DAA || 06 || 1 || 1 || A<sub>CC</sub> ← A<sub>CC</sub> + 6 || Decimal adjust accumulator for BCD addition || | | DAA || 06 || 1 || 1 || A<sub>CC</sub> ← A<sub>CC</sub> + 6 || Decimal adjust accumulator for BCD addition || | ||
Line 52: | Line 52: | ||
| EXL || 18 || 1 || 1 || A<sub>CC</sub> ← A<sub>CC</sub> ^ (DP) || Exclusive-or accumulator with RAM content pointed by DP || | | EXL || 18 || 1 || 1 || A<sub>CC</sub> ← A<sub>CC</sub> ^ (DP) || Exclusive-or accumulator with RAM content pointed by DP || | ||
|- | |- | ||
− | | LI || | + | | LI || || 1 || |
|- | |- | ||
− | | S || | + | | S || || 1 || |
|- | |- | ||
− | | L || | + | | L || || 1 || |
|- | |- | ||
− | | LM || | + | | LM || || 1 || |
|- | |- | ||
− | | X || | + | | X || || 1 || |
|- | |- | ||
− | | XM || | + | | XM || || 1 || |
|- | |- | ||
− | | XD || | + | | XD || || 1 || |
|- | |- | ||
− | | XMD || | + | | XMD || || 1 || |
|- | |- | ||
− | | XI || | + | | XI || || 1 || |
|- | |- | ||
− | | XMI || | + | | XMI || || 1 || |
|- | |- | ||
− | | LDI || | + | | LDI || || 2 || |
|- | |- | ||
− | | LDZ || | + | | LDZ || || 1 || |
|- | |- | ||
− | | DED || | + | | DED || || 1 || |
|- | |- | ||
− | | IND || | + | | IND || || 1 || |
|- | |- | ||
− | | TAL || | + | | TAL || || 1 || |
|- | |- | ||
− | | TLA || | + | | TLA || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | XHX || | + | | XHX || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | XLY || | + | | XLY || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | THX || | + | | THX || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | TLY || | + | | TLY || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | XAZ || | + | | XAZ || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | XAW || | + | | XAW || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | TAZ || | + | | TAZ || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | TAW || | + | | TAW || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | XHR || | + | | XHR || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | XLS || | + | | XLS || || 1 || |
|- | |- | ||
− | | SMB || | + | | SMB || || 1 || |
|- | |- | ||
− | | RMB || | + | | RMB || || 1 || |
|- | |- | ||
− | | TMB || | + | | TMB || || 1 || |
|- | |- | ||
− | | TAB || | + | | TAB || || 1 || |
|- | |- | ||
− | | CMB || | + | | CMB || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | SFB || | + | | SFB || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | RFB || | + | | RFB || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | FBT || | + | | FBT || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | FBF || | + | | FBF || || 1 || |
|- | |- | ||
− | | CM || | + | | CM || || 1 || |
|- | |- | ||
− | | CI || | + | | CI || || 2 || |
|- | |- | ||
− | | CLI || | + | | CLI || || 2 || |
|- | |- | ||
− | | TC || | + | | TC || || 1 || |
|- | |- | ||
− | | TIT || | + | | TIT || || 1 || |
|- | |- | ||
− | | JCP || | + | | JCP || || 1 || |
|- | |- | ||
− | | JMP || | + | | JMP || || 2 || |
|- | |- | ||
− | | JPA || | + | | JPA || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | EI || | + | | EI || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | DI || | + | | DI || || 1 || |
|- | |- | ||
− | | CZP || | + | | CZP || || 1 || |
|- | |- | ||
− | | CAL || | + | | CAL || || 2 || |
|- | |- | ||
− | | RT || | + | | RT || || 1 || |
|- | |- | ||
− | | RTS || | + | | RTS || || 1 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | STM || | + | | STM || || 2 || |
− | |- style="background: # | + | |- style="background: #ccffcc;" |
− | | TTM || | + | | TTM || || 1 || |
|- | |- | ||
− | | SEB || | + | | SEB || || 1 || |
|- | |- | ||
− | | REB || | + | | REB || || 1 || |
|- | |- | ||
− | | SPB || | + | | SPB || || 1 || |
|- | |- | ||
− | | RPB || | + | | RPB || || 1 || |
|- | |- | ||
− | | TPA || | + | | TPA || || 1 || |
|- | |- | ||
− | | TPB || | + | | TPB || || 1 || |
|- | |- | ||
− | | OE || | + | | OE || || 1 || |
|- | |- | ||
− | | OP || | + | | OP || || 1 || |
|- | |- | ||
− | | OCD || | + | | OCD || || 2 || 2 || PORT[C,D] ← I<sub>7</sub>-I<sub>0</sub> || |
|- | |- | ||
− | | IA || | + | | IA || || 2 || 2 || A<sub>CC</sub> ← PORT[A] || |
|- | |- | ||
− | | IP || | + | | IP || || 1 || 1 || A<sub>CC</sub> ← PORT[DP<sub>L</sub>] || |
|- | |- | ||
− | | [[NOP]] || | + | | [[NOP]] || || 1 || 1 || [[no operation]] || |
|} | |} | ||
Line 184: | Line 184: | ||
* [[:File:NEC μCOM4345 ISA.pdf|ISA data sheet]] | * [[:File:NEC μCOM4345 ISA.pdf|ISA data sheet]] | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{nec|μCOM-4}} | * {{nec|μCOM-4}} | ||
* {{nec|μCOM-8}} | * {{nec|μCOM-8}} | ||
* {{nec|μCOM-8/isa|μCOM-8 ISA}} | * {{nec|μCOM-8/isa|μCOM-8 ISA}} |