News for hackers. Stuff that matters.
Re:Notch's Specification for the In-Game DCPU-16 by stusmith1977 on Wednesday April 04, 2012 @09:00AM (#3797318)
> Explicit access to PC as a register, makes "computed goto" trivial and very natural.

Am I right in thinking ARM uses this model? I haven't worked on them since ARM2, but I have a hazy recollection...

Re:Notch's Specification for the In-Game DCPU-16 by Symmetry on Wednesday April 04, 2012 @10:17AM (#3797673)
Sort of. R15 is the PC, but you also have branch instructions which have very large literal values which in practice you'll always use.

http://www.wss.co.uk/pinknoise/ARMinstrs/ARMinstrs.html#Bran...

Re:Notch's Specification for the In-Game DCPU-16 by dasmoth on Wednesday April 04, 2012 @09:40AM (#3797495)
Yes it does.

(Thinks of a typical SWI handler...)