🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.corewar
Article #212

WARNING :: Bug in CoreWarsDeluxe

#212
From: Wayne Edward Sheppard
Date: Tue, 13 Oct 1992 21:45
22 lines
1084 bytes
I have just found a bug in CoreWarsDeluxe for the PC.  It involves
the MOV ADD and SUB commands when using predecrement in the B-field.
Here's how I found it:

	mov 2,<2
	jmp -1
	dat #1

What happens is when CWD reads the A field, it goes ahead and grabs
a copy of what it is going to move.  Then if the B field decrements
that same instruction, the mov works as normal except that it uses
the copy of the instruction that has not been decremented.

The same goes for the ADD and SUB commands.

Has anyone ran the test programs on CorewarsDeluxe or on KoTHPC?

-- 
Wayne Edward Sheppard
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt7804b
Internet: gt7804b@prism.gatech.edu
Technical Details
Message-ID: <71121@hydra.gatech.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!gatech!prism!gt7804b

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!gatech!prism!gt7804b
From: gt7804b@prism.gatech.EDU (Wayne Edward Sheppard)
Newsgroups: rec.games.corewar
Subject: WARNING :: Bug in CoreWarsDeluxe
Message-ID: <71121@hydra.gatech.EDU>
Date: 13 Oct 92 21:45:08 GMT
Organization: Georgia Institute of Technology
Lines: 22