Search Posts:

How Instructions are Processed

View Entire Thread

Return to Threads

SHARE
  by Bill Degnan - 02/16/2015 00:13
Let's say you have a program with the following instruction:
B4627
B = "BRING" - Means clear the current contents of the accumulator and move contents of 4627 into the accumulator.

Allow me to digress...note that this is a 32-bit computer, word = 32 bits. For a program instruction word the first 12 bits typically (with exceptions) are ignored/not used. The exception is when the instruction is used to pass control to another memory location. More on this later.

I have been working to determine what actually gets stored in RAM, at each step of the bootstrap and program loading steps as if it were loaded into memory by the tape read routine.

The current version of the LGP-30 SIMH does not fully mimic the Flexowriter to interact as originally designed, we have to improvise. I plan to start by manually loading the bootstrap and program input routine into memory, plus the data input subroutine and data output subroutines. I intend to do this "as if" the programs were input via tape and executed via Flexowriter. If that is not possible, I will to bootstrap some other way.

Returning to the computer instruction word "B4627". The computer cannot read B4627 in its mnemonic form into memory until it's converted.

1. First "B4627" is converted into binary-coded decimal format and entered into the accumulator. In this case,
0001 0100 0110 0010 0111
B 4 6 2 7

The accumulator is actually 64 separate 32-bit accumulators (one for each drum track), same value on each copy.

2. The input routine converts the value from the accumulator into a format that can be saved to the drum memory. Leaving out why this is so, here is what you get:
0001 00 101110 011011 00
B -- binary 46 binary 27 --

where -- represent 2-bit buffer 00's.

3. Next the word is converted into the LGP-HEX format
0001 0010 1110 0100 1100
B 2 Q 6 J

Note that the BRING instruction goes through the process unchanged. Also, 14 in LGP HEX = Q (not E), 12 in LGP Hex J (not C). B2Q63 is the end result.

The bootstrap is entered in manually, and when executed it jumps to the program input routine. The program input routine code instructs the computer how to run the data input subroutine and data output subroutines. Once in memory these subroutines can be supplemented with more subroutines that can be used by other programs.


Reply

Resources:


Buy a Commodore Computer Poster

Popular Topics and FAQs


  • TM990/101 M
  • Altair 8800bt notes
  • TRS 80 Model 4 Engineering Sample
  • Altos 5-5AD
  • Morrow Wunderbuss Motherboard - Fried!
  • Epson PX-8
  • C64 emulator to run on PC
  • Mac 128K with SAD MAC error 041800
  • IMSAI 8080 With Processor Tech. Cutter
  • Secrecy is the keystone of all tyranny
  • Cromemco System Three
  • Commodore "Coherent"
  • Exatron Stringy Floppy Update
  • TM 990/189 or PP189
  • Lanier Word Processor Model 103
  • Univac 1219 rescue
  • IMSAI 1.4 BASIC vs. MITS 8K BASIC
  • Atari 520ST
  • DEC Information Request Reply Card
  • Amiga 2500 Restoration
  • IBM XT sn 4359455
  • Amiga 2000 with Dual Drives and HD
  • A New 68000 CPU S-100 Board
  • Edmund Scientific Co Ad 1973
  • Micropolis 10xx Drive Inventory
  • Texas Instruments 99/4a with PHP1200
  • MITS Altair 8800b T with Dual Drives
  • Burroughs L5000 Controller Card Photos
  • Digital PDP 11/44
  • TRS 80 Model III Exatron Stringy Floppy
  • Digital PDP-9 The Serious Computer
  • Live long and prosper, Spock
  • PDP 11/40 M7656 Serial Comms
  • 1993 Compaq Deskpro 5/60M
  • 1974/5 TCC-3700 i8080 Computer
  • Processor Tech 3P + S ASR 33 Jumpers
  • Tektronix 4015-1 Graphics Terminal
  • Lear Siegler ADM-3A GraFix Board
  • UNIVAC 1219 USS Midway CV-41
  • Commodore VIC-21
  • Prevent VMS MULTINET SMTP Relay Hijacks
  • NExT Cube Restoration
  • 1976 P.C.C. Features the MAI JOLT 6502
  • 1961 Beckman DEXTIR Computer
  • UNIVAC 1 and UNIVAC File Computer 1
  • Computer Music Using the IBM 7094
  • 1985 PCs Limited Turbo PC
  • Digital Equipment Corporation PDP-8
  • IMSAI 8080 Chase the Lights Variations
  • XYBASIC on the IMSAI 8080
  • Cromemco Dazzler
  • Cramer Intel 8080A Microcomputer
  • Original ACHTUNG Computer Lab Humor
  • Leading Edge Computers
  • Past Issues:


    litton sweda Litton Sweda Floppy Disk Model 8452 faceplt

    This image was selected at random from the archive. Click image for more photos and files from this set.