Welcome to GameHourz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Odp: SLT is ambiguous ?!

 
   Game Forums (Home) -> Core War RSS
Next:  Problem with Optimization Code for Detection/Heal..  
Author Message
Lukasz Adamowski

External


Since: Dec 03, 2007
Posts: 18



(Msg. 1) Posted: Tue Dec 04, 2007 10:19 am
Post subject: Odp: SLT is ambiguous ?!
Archived from groups: rec>games>corewar (more info?)

Dnia 4-12-2007 o godz. 6:57 Skybuck Flying napisal:
> SLT means: SKIP IF LESS THAN
>
> How can anything be LESS than in a circular system ?!
>
> -1=CORESIZE-1=(CORESIZE*2)-1=(CORESIZE*3)-1
> 0=CORESIZE=CORESIZE*2=CORESIZE*3
> 1=CORESIZE+1=(CORESIZE*2)+1=(CORESIZE*3)+1
>
> Therefore any value can be interpreted as LESS or GREATER than any
other
> value !
>
> Comments ?
>
> Bye,
> Skybuck.

Don't you remember every number is modded by CORESIZE? Comparison is
done after that. So it may be funny, but in CoreWar -1000 is greater
than 1000. ;]
Check for yourself!
Cheers
Lukasz Adamowski

-= "War is a problem, never a solution" =-
-= "Wojna jest problemem, a nie rozwiazaniem" =-

----------------------------------------------------
Sylwester 2007 w Hotelu Nadmorskim!
Jedyna Noc Noc Sylwestrowa godna jego Królewskiej Mości!
http://klik.wp.pl/?adr=www.nadmorski.pl&sid=124

 >> Stay informed about: Odp: SLT is ambiguous ?! 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 2) Posted: Wed Dec 05, 2007 9:43 am
Post subject: Re: SLT is ambiguous ?! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Would be good if that was documented in the SLT instruction manual Wink

"Comparision is done after Values mod CoreSize" Wink

Bye,
Skybuck.

 >> Stay informed about: Odp: SLT is ambiguous ?! 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Score Surface for 94nop - Hi, some anonymous person (still called "bvowk" for simplicity ;-) is so kind to provide access to a pile of computers. I have suggested to calculate one score surface for standard settings. It takes roughly 1000 times the time of one "no...

Bug in pMARS - Hi, either I don't know how EQUs work or I have found a bug in the parser of pMARS. So far I cound pin it down to: ;redcode-tiny ;name test ;assert CORESIZE == 800 v3 EQU 3 * (3 / 2 + 1) + 3 v4 EQU (CORESIZE - v3) dat.f v3, v4 With the..

KOTH.ORG: Status - ICWS Experimental 94 03/06/06 - Weekly Status on 03/06/06 -=- irc.KOTH.org is up! Meetings held in #corewars -=- Tons of new features on www.KOTH.org/koth.html pages -=- *FAQ* page located at: www.KOTH.org/corewar-faq.html Current Status of the KOTH.ORG ICWS Experimental 94..

KOTH.ORG: Status - MultiWarrior 94 03/06/06 - Weekly Status on 03/06/06 -=- irc.KOTH.org is up! Meetings held in #corewars -=- Tons of new features on www.KOTH.org/koth.html pages -=- *FAQ* page located at: www.KOTH.org/corewar-faq.html Current Status of the KOTH.ORG Multiwarrior 94 CoreWar..

KOTH.ORG: Status - 94 No Pspace 03/06/06 - Weekly Status on 03/06/06 -=- irc.KOTH.org is up! Meetings held in #corewars -=- Tons of new features on www.KOTH.org/koth.html pages -=- *FAQ* page located at: www.KOTH.org/corewar-faq.html Current Status of the KOTH.ORG 94 No Pspace CoreWar Hill...
   Game Forums (Home) -> Core War All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]