At 11:55 PM 8/6/2001 -0400, Uri Guttman wrote:
> >>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>
> DS> Nothing hard about it, really. We'll see either:
>
> DS> branch $10
>
> DS> or
>
> DS> store I12, $10
> DS> branch I12
>
> DS> Not that tricky. (And no, those aren't regex variables. I'm having
> DS> LSI-11 Macro flashbacks here)
>
>wow, the macro-11 private/lexical labels! one of the very nice features
>of macro-11 that is worth stealing (if perl didn't already have loops :)
Yup. I plan on stealing it, more or less, for the parrot assembler.
>but I12 would have to be a labeled location for that to be legal.
Parrot won't care--if you want to branch someplace, go for it. It's your
responsibility as a programmer (or programmer writing code generators) to
make sure that the destination's a valid place to branch to.
>and pdp-11 had BR and MOV op codes, not 'store' and 'branch'.
Sure, but then we don't have to wedge our opcode names into the RAD-50
restricted character sets. (We'll be able to have opcode names longer than
6 characters, too... :)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk