home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
simtel
/
sigm
/
vols000
/
vol043
/
tintest4.pgn
< prev
next >
Wrap
Text File
|
1984-04-29
|
3KB
|
217 lines
TOP
BYTE AA
INT IAA
BYTE BB
INT IBB
BYTE CC
INT ICC
INT IDD
BYTE DD
BYTE NL
BYTE LF
BEGINMAIN(AC,IAV)
MS 'BEGIN T04'
NL=+013
LF=+010
GOSUB CR
AA=+003
BB=AA
CC=AA!=BB
IF CC
MS 'BYTE TRAN'
ENDIF
MS '111111111'
IAA=+12345
IBB=IAA
CC=IAA!=IBB
IF CC
MS 'INT TRANS'
ENDIF
MS '222222222'
ICC=+00235
BB=ICC
AA=+235
CC=AA!=BB
IF CC
MS 'INT TO BY'
ENDIF
MS '333333333'
IBB=AA
ICC=+00100
AA=+100
IBB=AA
CC=IBB!=ICC
IF CC
MS 'BYT TO IN'
ENDIF
MS '444444444'
IAA=+00000
IBB=+00005
IBB=IAA-IBB
CC=IBB<=IAA
IF CC
ELSE
MS 'INT<=.-<0'
ENDIF
MS '555555555'
CC=IBB<!IAA
IF CC
ELSE
MS 'INT<!.-<0'
ENDIF
MS '666666666'
IAA=+00005
ICC=-IAA
CC=ICC!=IBB
IF CC
MS 'INT=-INT.'
ENDIF
MS '777777777'
IAA=+10256
IBB=+00003
ICC=IAA*IBB
IDD=+30768
CC=IDD!=ICC
IF CC
MS 'INTMUL+*+'
ENDIF
GOSUB CR
MS '888888888'
IBB=-IBB
ICC=IAA*IBB
IDD=-IDD
CC=IDD!=ICC
IF CC
MS 'INTMUL+*-'
ENDIF
MS '999999999'
IAA=+00030
IBB=+00040
IAA=IAA*IBB
ICC=+01200
AA=ICC!=IAA
IF AA
MS 'MUL.X=X*.'
ENDIF
MS '000000000'
IAA=+00030
IBB=IAA*IBB
AA=ICC!=IBB
IF AA
MS 'MUL.X=.*X'
ENDIF
MS 'AAAAAAAAA'
IAA=IAA*IAA
ICC=+00900
AA=I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