Article View: alt.folklore.computers
Article #4302Re: Just *how* hard is a GO playing program?
From: m... Mark Crispin
Date: Wed, 05 Sep 1990 05:56
Date: Wed, 05 Sep 1990 05:56
35 lines
2662 bytes
2662 bytes
In article <25...@boulder.Colorado.EDU> a...@boulder.Colorado.EDU (Alan T. Krantz) writes:
>In article <70...@milton.u.washington.edu> m...@Tomobiki-Cho.CAC.Washington.EDU (Mark Crispin) writes:
>>In article <1990Sep3.0...@cbnewsh.att.com> w...@cbnewsh.att.com (Bill Stewart 201-949-0705 erebus.att.com!wcs) writes:
>> HRLOI AC,-1(COUNT) ; Halfword Right to Left Immediate, fill Ones
>> EQVI AC,ADDR ; EQuiValence Immediate
> or
>> MOVN AC,COUNT ; MOVe Negative
>> HRL AC,AC ; Halfword Right to Left
>> HRRI AC,ADDR ; Halfword Right to Right Immediate
>Why make things so compilcated. Why not simply
> MOVE AC,[-COUNT,,ADDR] ; Load ac with ....
How soon we forget!
The MOVE would be fine if COUNT was an immediate value (a compile-time
constant), but in my examples, it's the name of a register. The whole
point is that if you don't know the szi6xxxx"b3 e of the vector (or the address
of the vector) at compile time, you cannot do a simple move from a
constant.
ADDR could also be a register (or memory location) by changing the
EQVI to EQV or the HRRI to HRR in the above examples.
If you want another shot, here's a "simple" one. Put a PUSH in
register 0, and start the CPU at 0. What happens? No fair trying it
on a real PDP-10. You can assume the CPU is a bare machine, but this
will work OK under timesharing on Tenex, TOPS-20, or ITS systems.
_____ | ____ ___|___ /__ Mark ("Gaijin") Crispin "Gaijin! Gaijin!"
_|_|_ -|- || __|__ / / R90/6 pilot, DoD #0105 "Gaijin ha doko?"
|_|_|_| |\-++- |===| / / Atheist & Proud "Niichan ha gaijin."
--|-- /| |||| |___| /\ (206) 842-2385/543-5762 "Chigau. Gaijin ja nai.
/|\ | |/\| _______ / \ M...@CAC.Washington.EDU Omae ha gaijin darou"
/ | \ | |__| / \ / \"Iie, boku ha nihonjin." "Souka. Yappari gaijin!"
Hee, dakedo UNIX nanka wo tsukatte, umaku ikanaku temo shiranai yo.
Technical Details
Message-ID:
<7082@milton.u.washington.edu>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!apple!usc!samsung!dali.cs.montana.edu!milton!Tomobiki-Cho!mrcReferences:
<1990Aug30.123237.17904@nmt.edu> <1547@front.se> <1990Sep3.053502.18445@cbnewsh.att.com> <7041@milton.u.washington.edu> <25672@boulder.Colorado.EDU>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!apple!usc!samsung!dali.cs.montana.edu!milton!Tomobiki-Cho!mrc From: m...@Tomobiki-Cho.CAC.Washington.EDU (Mark Crispin) Newsgroups: alt.folklore.computers Subject: Re: Just *how* hard is a GO playing program? Message-ID: <7082@milton.u.washington.edu> Date: 5 Sep 90 05:56:46 GMT References: <1990Aug30.123237.17904@nmt.edu> <1547@front.se> <1990Sep3.053502.18445@cbnewsh.att.com> <7041@milton.u.washington.edu> <25672@boulder.Colorado.EDU> Sender: ne...@milton.u.washington.edu Organization: Mendou Zaibatsu, Tomobiki-Cho, Butsumetsu-Shi Lines: 35 Posted: Wed Sep 5 06:56:46 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit