[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

128.0. "assembly opcodes" by WOOKIE::W_SMITH () Mon Jun 17 1985 13:02

	From RSTS PRO magazine many moons ago, Page 33.
	Titled: GOODIES By Eddie Cadieux
	Subtitled: Proposed additions to the PDP-11
			instruction set.


BBW	Branch Both Ways
BEW	Branch Either Way
BH	Branch and Hang
BMR	Branch Multiple Registers
BOB	Branch On Bug
BOD	Beat On Drum
BOI	Byte Operator Immediately
BPO	Branch on Power Off
BST	Backspace and Stretch Tape
CDS	Condense and Destroy System
CLBR	Clobber Register
CLBRI	Clobber Register Immediately
CM	Circulate Memory
CPPR	Crumple Printer Paper and Rip
CRN	Convert to Roman Numerals
DC	Divide and Conquer
DMNS	Do What I Mean, Not What I Say
DMPK	Destroy Memory Protect Key
DO	Divide and Overflow
EIOC	Execute Invalid Op Code
EMPC	Emulate Pocket Calculator
EPI	Execute Programmer Immediately
EROS	Erase Read Only Storage
EVGH	Emulate a VG on a Hazeltine
EXCE	Execute Customer Engineer
EXPP	Execute a Political Prisoner
FSRA	Forms Skip and Run Away
HCF	Halt and Catch Fire
IBP	Insert Bug and Proceed
IIP	Ignore Inquiry and Proceed
LCC	Load and Clear Core
MLR	Move and Lose Record
PBC	Print and Break Chain
PDSK	Punch Disk
PI	Punch Invalid
POPI	Punch Operator Immediately
PVLC	Punch Variable Length Card
RASC	Read And Shred Card
RIRG	Read Inter-Record Gap
RPM	Read Programmers Mind
RSD	On Read Error Self Destruct
RSTOM	Read from Store Only Memory
RWOC	Read Writing On Card
SPSW	Scramble Program Status Word
SRSD	Seek Record and Scar Disk
SRZ	Subtract and Reset to Zero
SSJ	Select Stacker and Jam
STROM	Store in Read Only Memory
TDB	Transfer and Drop Bit
UER	Update and Erase Record
WBT	Water Binary Tree
WIRG	Write Inter-Record Gap


					6/17/85	WPNS
T.RTitleUserPersonal
Name
DateLines
128.1LATOUR::AMARTINMon Jun 17 1985 13:248
In the Stevens Institute chemistry department there was an LSI-11 that
controlled a Picker X-ray diffractometer.  It controlled the shutter
for an incredibly powerful X-ray source, and the shutter could only
be closed by computer control.  If the machine crashed, you had to re-boot
to close it.  That system had another one of those instructions:

HIO	Halt and Irradiate Operator
					/AHM
128.2REX::MINOWMon Jun 17 1985 13:3019
Let us not forget the original proposal for the Vax 810 (from about
6 or 7 years ago).  This had two interesting architectural extensions:
	R*		Choose an appropriate register
	DWIM		Do what I mean.

The first implementation of this machine would use the dialup diagnostic
port to contact Colorado Springs, upload the program and dynamically
patch the running image.  Subsequent implementations would use embedded
expert systems software to fix the image without human intervention.

Unfortunately, the designers couldn't figure out an approach to
the simplest possible program:

	main:	DWIM	R*
		.END	main

(Original idea by Jerry Leichter.)

Martin.
128.3RANI::LEICHTERJMon Aug 05 1985 02:3843
Thanks for reminding me, Martin.  Here's the original:

From:	LEICHTERJ      24-AUG-1982 01:49  
To:	LEICHTERJ ! SENT TO ALIEN::PARMENTER
Subj:	NEW INSTRUCTIONS FOR THE 11/810 -- FOR DESPERADO

There have been many rumors floating about concerning the next VAX, which
will allegedly be numbered the 11/810.  Many of these rumors are totally
without basis in fact.  A careful investigation by your correspondent,
aided by Martin Minow and Anton Chernoff, has revealed that the 11/810 is
indeed to be a true fifth-generation machine.  Its architecture is a
significant advance over previous VAXen, incorporating ideas from artificial
intelligence to considerably simplify the programmer's task.

The chief advance appears in a new instruction, DWIM, or "Do What I Mean".
DWIM, like most VAX instructions, comes in a variety of flavors, depending
on the distance across which you are addressing.  In this case, the distance
you have to be concerned with is that between what you said - or, equivalently,
what the system originally did - and what you meant.  Thus, if you are already
pretty close to what you mean, you can same space by using the byte form,
DWIMB.  More severe misunderstandings can be corrected with the DWIMW or
DWIML forms.  A DWIMQ form has also been defined, but its utility is probla-
matical.

If only approximate answers are needed, a full set of floating-point DWIM
instructions also exist.  They sacrifice accuracy of correction for dynamic
range.

While the DWIM instructions deal with misunderstandings "in the large",
the 11/810 will also support new addressing modes for dealing with mis-
understandings "in the small".  Thus, the construct {R1} as an address
indicates that the 11/810 is to to deferred, auto-increment, or auto-dec-
rement - whichever the programmer meant.  Similarly, the construct R? where
a register name is expected causes the 11/810 to choose the particular
register you meant.  (Note - AP, FP, and PC are NOT accessible by the mecha-
nism.)

It is my understanding that the DWIM instructions are fairly solid at this
point but that the addressing modes are still buggy.  In particular, the
use of the construct DWIM {R?} has been known to cause the 11/810 to begin
searching all attached devices for copies of your program; it deletes every
one.
							-- Jerry
128.4Useful instructionsMYVAX::ROBERUCSun Aug 24 1986 17:597
    There a few more that should be placed here...
    
    RPM		Read Programmer's Mind
    RPI		Read Instructor's Mind
    RCM		Read Customer's Mind
    
    Rich
128.5Some favourites of mineMDVAX3::COARA wretched hive of bugs and flamers.Fri Oct 30 1987 14:0312
    More..
    
    RWD		Rewind Disk
    EJT		Eject Tape
    RIRG	Read Inter-record Gap
    
    And one I would have dearly loved to have had when I was hacking
    in school:
    
    BSO		Branch on Sleepy Operator
    
    #ken	:-)}
128.6This one really existedAIAG::BILLMERSMeyer Billmers, AI ApplicationsFri Oct 30 1987 17:5710
Back in  the  good  old  days  at Carnegie Tech, I used to work in the Comp.
Center  on the fourth floor of Scaife Hall, overlooking Panther Hollow. Some
folk  there  had  a  PDP-8  which  was  used to control delicate measurement
experiments.  Trains  used to go by in the ravine, vibrating the building to
an  unacceptable level for the experiments, and these hackers actually added
a new instruction, 

  BTC  - branch on train coming

which read from a microswitch about quarter mile down the tracks.
128.7VISA::MONAHANI am not a free number, I am a telephone boxMon Nov 02 1987 13:435
    	My PDP-8 had a PKO (Put Kettle On) instruction, which operated
    a relay for the electric kettle about 11 a.m..
    
    	And then there was the laboratory I visited where the "peripheral"
    was a wired-up dog. I did not ask what the assembler mnemonics were.