Home | Notes | Languages | Programs | Homework |
Re: Project #2 |
Matthew Posid (mposid@VT.EDU)
Tue, 2 Oct 2001 23:03:07 -0400
Message-ID: <3BBA7FEB.841F80EC@vt.edu> Date: Tue, 2 Oct 2001 23:03:07 -0400 From: Matthew Posid <mposid@VT.EDU> Subject: Re: Project #2
if there are no parenthesis, then just follow standard oder of
operations:
1/2/3 would be the same as (1/2)/3, or iconst 1 iconst 2 i div iconst 3
idiv
but since you're given commands, not expressions (like in the last
program), it's not even relevant...if they tell you to div, and it's
possible to div, then you div, otherwise it's an error
at least that's the way i understand the spec
Home | Notes | Languages | Programs | Homework |