Basic
Electronics
Contents

S = Sound

 Cover

TOC(Table of Contents)
Chapt.1 
Chapt.2
Chapt.3 S
Chapt.4 S
Chapt.5
Chapt.6A Chapt.6B
Chapt.7 S
Chapt.8
Chapt.9
S
Chapt.10
Chapt.11
S
Chapt.12
S
Chapt.13 S
Chapt. 14
S
Chapt. 15
S
Chapt. 16
Chapt. 17
Chapt. 18

Meter Math
Troubleshooting
Principles 

cover Directory of Select Electronic Sites 

Military Electronics
Sound Ranging
Weapons

Electrical Energy
Cogeneration
HVDC

cover

Attention Teachers!

 

Site Map

Back to TOC    
Back to Bacic Comuter Simulation

Chapter 14

Basic Computer Specifications

Back to Simulation

Instruction Set:

Operation Code
Dec(Hex)

01(01)    CLRRA (clear register A)
02(02)   CLRRB  (clear register B)
03 (03)   CLRACC  (clear Accumulator)
04 (04)   LDRA (immediate, load register A)
05 (05)   LDRA (direct, load register A)
06 (06)   LDRB (immediate, load register B)
07 (07)   LDRB (direct, load register B)
08 (08)   DECRA (decrement registry A)
09 (09)   DECRB  (decrement registry B)
10 (0A)  DECACC (decrement accumulator)
11 (0B)  INCRA (increment registry A)
12 (0C)  INCRB (increment registry B)
13 (0D)  INCRACC (increment accumulator)
14 (0E)  STRA (direct, store Register A)
15 (0F)  STRB (direct, store Register B)
16 (10)  STACC (direct, store accumulator)
17 (11)  ADD (add register B to register A and store results in accumulator) 
18 (12)  JMP () ( immediate, jump unconditionally (load PC) immediate Mode). 
19  (13) JMP(>) (immediate, JMP if comparator greater than output true.)
20  (14) JMP(=) (JMP if comparator equal output true)
21  (15) JMP(<) (JMP if comparator less than output is true)
    
 Notes:

1. Immediate Mode: Operation is performed on address immediately following operation code.   

2. Direct Mode: Address immediately following operation code contains address of  operand.

3. Implied Mode: Operand is implied by operation code. Example: Code 01, CLRRA operates on register RA.

4. Only three arithmetic functions are performed by this computer. 
    a. Count (up or down)
    b. Addition
    c. Comparison

 5. This programmers model of computer only shows registers, Buses, an Accumulator to show result of addition, and bit indicators (< =  >) to show results of comparison. 

6.  Negative numbers or 2's compliment arithmetic is not supported.

7.  Burn Proms : Simulates the burning of the program you wrote into a uvProm. Actually it causes the data in the text boxes to be written into an array (JAVA script).  

8.  Load RAM : Simulates loading data into 16 byte Random Access Memory. Naturally you cannot type data directly into memory. But the I/O for writing data into memory is beyond the scope of this introduction to computers.

9.  Single Step: Causes program to advance through one completes operation. At end of cycle program counter will point to next instruction. All remaining register contents are whatever was in register at end of the cycle. Data Bus and Address Bus reflect last valid data and address of previous instruction cycle.

10. I express all numbers as decimal.  The numbers are really binary in simulation metaphor and in JAVA program.  The numbers could also be represented as octal or hexadecimal. The numbers cannot be represented as Binary Coded Decimal(BCD).
                             


NEW (2008)
:
Upgraded our Free online electronics course with  MP3 Lectures! Click here to start course!
 

Also Included as part of our Free System Troubleshooting learning method are:

1. Meter Math (Click here)    Troubleshooting Numeric Systems.

2. JavaScript for scientific Calculations (Click here) I teach you how to program and perform electronic calculations simultaneously. 

3.  Electronic Concepts our best free e-Book (Click here)  For engineers and technicians.

New! ( Fall 2007) Force Fields.  A E&M physics primer for electronics students. Download Zipped PDF file: Click Here! 

More Stuff

 Read "The Energy Matrix" eZine and learn about alternative energy.

  A Science and Technology Odyssey In Cyberspace-Time (Now with Sound, K12 site 

Go to free Games on Line: Click Here!  

Send Comments to Bill at : BilPat4342@AOL.com

 

Copyright © 1999, 2000 Science-EbooksCo