Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion lexicals and globals assembly question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brian Wheeler  
View profile  
 More options Aug 5 2002, 10:48 pm
Newsgroups: perl.perl6.internals
From: bdwhe...@indiana.edu (Brian Wheeler)
Date: 05 Aug 2002 21:17:22 -0500
Local: Mon, Aug 5 2002 10:17 pm
Subject: lexicals and globals assembly question
I was just looking at store_lex, find_lex and store_global and
find_global and it seems like the operands are backwards for the store_*
versions.  I thought the "rule" was that the destination is the leftmost
operand.  Granted the string in question isn't really the destination,
but a global/lex of that name _is_.

So instead of
store_lex P0,'a'
find_lex P0,'a'
store_global P0,'b'
find_global P0,'b'

wouldn't it be better for it to be:

store_lex 'a',P0
find_lex P0,'a'
store_global 'b',P0
find_global P0,'b'

Thoughts?

Brian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.