Home  |   Notes  |   Languages  |   Programs  |   Homework

Re: output

New Message Reply About this list Date view Thread view Subject view Author view

Stephen Edwards (edwards@CS.VT.EDU)
Mon, 24 Sep 2001 09:47:57 -0400


Message-ID:  <3BAF398D.2F80BCC@cs.vt.edu>
Date:         Mon, 24 Sep 2001 09:47:57 -0400
From: Stephen Edwards <edwards@CS.VT.EDU>
Subject:      Re: output

David Tuell wrote:
>
> iconst 1
> iconst 2
> iconst 3
> imul
> iadd
> iconst 4
> iconst 5
> idiv
> isub
> iconst 6
> iconst 7
> imul
> iadd
> iconst 8
> iconst 9
> idiv
> isub
> ireturn
>

This is correct. Remember that before this portion of the output,
your program should echo the input expression on a line by itself
beginning with "// ", and that it should follow the code sequence above
with a blank line to separate it from the next expression's output.

                                -- Steve

--
Stephen Edwards            604 McBryde Hall          Dept. of Computer Science
e-mail      : edwards@cs.vt.edu           U.S. mail: Virginia Tech (VPI&SU)
office phone: (540)-231-5723                         Blacksburg, VA  24061-0106
-------------------------------------------------------------------------------


New Message Reply About this list Date view Thread view Subject view Author view

Home  |   Notes  |   Languages  |   Programs  |   Homework
copyright © 2001 Virginia Tech, ALL RIGHTS RESERVED
Class site maintained by Stephen H. Edwards <edwards@cs.vt.edu>