home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p11
/
tst
/
div.givenOutput1
< prev
next >
Wrap
Text File
|
2006-03-05
|
221b
|
14 lines
rm -f tst/div.s
rm -f tst/div
java Main < tst/div.pcat 1> tst/div.s
Assembling...
Beginning execution...
17 DIV 5 = 3
17 DIV -5 = -3
-17 DIV 5 = -3
-17 DIV -5 = 3
17 MOD 5 = 2
17 MOD -5 = 2
-17 MOD 5 = -2
-17 MOD -5 = -2