Symsyn Read online

Page 2


  PACKHEX $S | as above

  PAUSE | let next prog in the queue run

  POST C | post an event named in C

  POST C $S | post an event named in C and associate data in $S

  REPLACE C D $S | replace each occurrence of C with character D in string $S

  RETURN | go back to calling point

  SHL X N | logical shift left X by N bits

  SHR X N | logical shift right X by N bits

  SQRT X Y | square root of X to Y (rounded)

  SYMSYN C | command in the string C to Symsyn

  SYMSYN $S | command in the string $S to Symsyn

  STARTIMER N | start the timer N milliseconds

  STOP | end prog

  - X | subtract 1 from X

  - X Y | subtract X from Y

  - X Y Z | subtract X from Y result in Z

  - $S N | delete N characters from $S

  - $S.I N | delete N characters from $S at I

  TRIMLEFT $S | delete leading spaces

  UNGRAB C | release resource named by C

  UNPACKHEX $R $S | expand 4 bit nibbles to displayable characters

  UNPACKHEX $S | as above

  UNPOST C | unpost event named by C

  UPCASE $S | make characters in string upper case

  VADD X Y Z | add corresponding members of X to Y store in Z

  VMUL X Y Z | multiply corresponding members of X to Y store in Z

  VSUM X Y | sum members of X store total in Y

  WAIT C | wait for event C to be posted

  WAIT C $S | wait for event C to be posted, place associated data in $S

  WAITIMER | wait for timer to expire

  XOR X Y | logical exclusive or X with Y result in Y

  XOR X Y Z | logical exclusive or X with Y result in Z

  * * *

  OPERATING COMMANDS

  COMPILER

  The compiler SSL can be run from the command line, it will prompt for a prog name:

  SSL

  or with a prog name:

  SSL prog1.ssl (.ssl is optional)

  SSL >prog2 will read text, one line at a time, and make and compile prog2

  Once the suffix .ssl is associated with SSL.exe, a prog can be compiled with a mouse click.

  A successful compile will generate two files:

  prog1.listing

  prog1.ssx

  RUNTIME

  The emulator SSX.exe can be run from the command line:

  SSX or SSX prog1

  Once the suffix .ssx is associated with SSX.exe, a prog can be run with a mouse click.

  A prog can be run from SSX with the command: R prog1

  A prog can be compiled from SSX with the command:

  C prog1 or

  compiled and run (if successful) with the command:

  CR prog1

  F9 displays keyboard commands.

  * * *

  Data Encryption Standard (DES) algorithm in Symsyn

  DES.ssl

  1.

  2. pc1 : 56

  3. : 48

  4. : 40

  5. : 32

  6. : 24

  7. : 16

  8. : 8

  9. : 0

  10. : 57

  11. : 49

  12. : 41

  13. : 33

  14. : 25

  15. : 17

  16. : 9

  17. : 1

  18. : 58

  19. : 50

  20. : 42

  21. : 34

  22. : 26

  23. : 18

  24. : 10

  25. : 2

  26. : 59

  27. : 51

  28. : 43

  29. : 35

  30. : 62

  31. : 54

  32. : 46

  33. : 38

  34. : 30

  35. : 22

  36. : 14

  37. : 6

  38. : 61

  39. : 53

  40. : 45

  41. : 37

  42. : 29

  43. : 21

  44. : 13

  45. : 5

  46. : 60

  47. : 52

  48. : 44

  49. : 36

  50. : 28

  51. : 20

  52. : 12

  53. : 4

  54. : 27

  55. : 19

  56. : 11

  57. : 3

  58. Pc2 : 13

  59. : 16

  60. : 10

  61. : 23

  62. : 0

  63. : 4

  64. : 2

  65. : 27

  66. : 14

  67. : 5

  68. : 20

  69. : 9

  70. : 22

  71. : 18

  72. : 11

  73. : 3

  74. : 25

  75. : 7

  76. : 15

  77. : 6

  78. : 26

  79. : 19

  80. : 12

  81. : 1

  82. : 40

  83. : 51

  84. : 30

  85. : 36

  86. : 46

  87. : 54

  88. : 29

  89. : 39

  90. : 50

  91. : 44

  92. : 32

  93. : 47

  94. : 43

  95. : 48

  96. : 38

  97. : 55

  98. : 33

  99. : 52

  100. : 45

  101. : 41

  102. : 49

  103. : 35

  104. : 28

  105. : 31

  106. P : 15

  107. : 6

  108. : 19

  109. : 20

  110. : 28

  111. : 11

  112. : 27

  113. : 16

  114. : 0

  115. : 14

  116. : 22

  117. : 25

  118. : 4

  119. : 17

  120. : 30

  121. : 9

  122. : 1

  123. : 7

  124. : 23

  125. : 13

  126. : 31

  127. : 26

  128. : 2

  129. : 8

  130. : 18

  131. : 12

  132. : 29

  133. : 5

  134. : 21

  135. : 10

  136. : 3

  137. : 24

  138. Ebit : 31

  139. : 0

  140. : 1

  141. : 2

  142. : 3

  143. : 4

  144. : 3

  145. : 4

  146. : 5

  147. : 6

  148. : 7

  149. : 8

  150. : 7

  151. : 8

  152. : 9

  153. : 10

  154. : 11

  155. : 12

  156. : 11

  157. : 12

  158. : 13

  159. : 14

  160. : 15

  161. : 16

  162. : 15

  163. : 16

  164. : 17

  165. : 18

  166. : 19

  167. : 20

  168. : 19

  169. : 20

  170. : 21

  171. : 22

  172. : 23

  173. : 24

  174. : 23

  175. : 24

  176. : 25

  177. : 26

  178. : 27

  179. : 28

  180. : 27

  181. : 28

  182. : 29

  183. : 30

  184. : 31

  185. : 0

  186. DesIP : 57

  187. : 49

  188. : 41

  189. : 33

  190. : 25

  191. : 17

  192. : 9

  193. : 1

  194. : 59

  195. : 51

  196. : 43

  197. : 35

  198. : 27

  199. : 19

  200. : 11

 
201. : 3

  202. : 61

  203. : 53

  204. : 45

  205. : 37

  206. : 29

  207. : 21

  208. : 13

  209. : 5

  210. : 63

  211. : 55

  212. : 47

  213. : 39

  214. : 31

  215. : 23

  216. : 15

  217. : 7

  218. : 56

  219. : 48

  220. : 40

  221. : 32

  222. : 24

  223. : 16

  224. : 8

  225. : 0

  226. : 58

  227. : 50

  228. : 42

  229. : 34

  230. : 26

  231. : 18

  232. : 10

  233. : 2

  234. : 60

  235. : 52

  236. : 44

  237. : 36

  238. : 28

  239. : 20

  240. : 12

  241. : 4

  242. : 62

  243. : 54

  244. : 46

  245. : 38

  246. : 30

  247. : 22

  248. : 14

  249. : 6

  250. DesIPIV : 39

  251. : 7

  252. : 47

  253. : 15

  254. : 55

  255. : 23

  256. : 63

  257. : 31

  258. : 38

  259. : 6

  260. : 46

  261. : 14

  262. : 54

  263. : 22

  264. : 62

  265. : 30

  266. : 37

  267. : 5

  268. : 45

  269. : 13

  270. : 53

  271. : 21

  272. : 61

  273. : 29

  274. : 36

  275. : 4

  276. : 44

  277. : 12

  278. : 52

  279. : 20

  280. : 60

  281. : 28

  282. : 35

  283. : 3

  284. : 43

  285. : 11

  286. : 51

  287. : 19

  288. : 59

  289. : 27

  290. : 34

  291. : 2

  292. : 42

  293. : 10

  294. : 50

  295. : 18

  296. : 58

  297. : 26

  298. : 33

  299. : 1

  300. : 41

  301. : 9

  302. : 49

  303. : 17

  304. : 57

  305. : 25

  306. : 32

  307. : 0

  308. : 40

  309. : 8

  310. : 48

  311. : 16

  312. : 56

  313. : 24

  314. DesS1 : 14

  315. : 0

  316. : 4

  317. : 15

  318. : 13

  319. : 7

  320. : 1

  321. : 4

  322. : 2

  323. : 14

  324. : 15

  325. : 2

  326. : 11

  327. : 13

  328. : 8

  329. : 1

  330. : 3

  331. : 10

  332. : 10

  333. : 6

  334. : 6

  335. : 12

  336. : 12

  337. : 11

  338. : 5

  339. : 9

  340. : 9

  341. : 5

  342. : 0

  343. : 3

  344. : 7

  345. : 8

  346. : 4

  347. : 15

  348. : 1

  349. : 12

  350. : 14

  351. : 8

  352. : 8

  353. : 2

  354. : 13

  355. : 4

  356. : 6

  357. : 9

  358. : 2

  359. : 1

  360. : 11

  361. : 7

  362. : 15

  363. : 5

  364. : 12

  365. : 11

  366. : 9

  367. : 3

  368. : 7

  369. : 14

  370. : 3

  371. : 10

  372. : 10

  373. : 0

  374. : 5

  375. : 6

  376. : 0

  377. : 13

  378. S2 : 15

  379. : 3

  380. : 1

  381. : 13

  382. : 8

  383. : 4

  384. : 14

  385. : 7

  386. : 6

  387. : 15

  388. : 11

  389. : 2

  390. : 3

  391. : 8

  392. : 4

  393. : 14

  394. : 9

  395. : 12

  396. : 7

  397. : 0

  398. : 2

  399. : 1

  400. : 13

  401. : 10

  402. : 12

  403. : 6

  404. : 0

  405. : 9

  406. : 5

  407. : 11

  408. : 10

  409. : 5

  410. : 0

  411. : 13

  412. : 14

  413. : 8

  414. : 7

  415. : 10

  416. : 11

  417. : 1

  418. : 10

  419. : 3

  420. : 4

  421. : 15

  422. : 13

  423. : 4

  424. : 1

  425. : 2

  426. : 5

  427. : 11

  428. : 8

  429. : 6

  430. : 12

  431. : 7

  432. : 6

  433. : 12

  434. : 9

  435. : 0

  436. : 3

  437. : 5

  438. : 2

  439. : 14

  440. : 15

  441. : 9

  442. S3 : 10

  443. : 13

  444. : 0

  445. : 7

  446. : 9

  447. : 0

  448. : 14

  449. : 9

  450. : 6

  451. : 3

  452. : 3

  453. : 4

  454. : 15

  455. : 6

  456. : 5

  457. : 10

  458. : 1

  459. : 2

  460. : 13

  461. : 8

  462. : 12

  463. : 5

  464. : 7

  465. : 14

  466. : 11

  467. : 12

  468. : 4

  469. : 11

  470. : 2

  471. : 15

  472. : 8

  473. : 1

  474. : 13

  475. : 1

  476. : 6

  477. : 10

  478. : 4

  479. : 13

  480. : 9

  481. : 0

  482. : 8

  483. : 6

  484. : 15

  485. : 9

  486. : 3

  487. : 8

  488. : 0

  489. : 7

  490. : 11

  491. : 4

  492. : 1

  493. : 15

  494. : 2

  495. : 14

  496. : 12

  497. : 3

  498. : 5

  499. : 11

  500. : 10

  501. : 5

  502. : 14

  503. : 2

  504. : 7

  505. : 12

  506. S4 : 7

  507. : 13

  508. : 13

  509. : 8

  510. : 14

  511. : 11

  512. : 3

  513. : 5

  514. : 0

  515. : 6
>
  516. : 6

  517. : 15

  518. : 9

  519. : 0

  520. : 10

  521. : 3

  522. : 1

  523. : 4

  524. : 2

  525. : 7

  526. : 8

  527. : 2

  528. : 5

  529. : 12

  530. : 11

  531. : 1

  532. : 12

  533. : 10

  534. : 4

  535. : 14

  536. : 15

  537. : 9

  538. : 10

  539. : 3

  540. : 6

  541. : 15

  542. : 9

  543. : 0

  544. : 0

  545. : 6

  546. : 12

  547. : 10

  548. : 11

  549. : 1

  550. : 7

  551. : 13

  552. : 13

  553. : 8

  554. : 15

  555. : 9

  556. : 1

  557. : 4

  558. : 3

  559. : 5

  560. : 14

  561. : 11

  562. : 5

  563. : 12

  564. : 2

  565. : 7

  566. : 8

  567. : 2

  568. : 4

  569. : 14

  570. S5 : 2

  571. : 14

  572. : 12

  573. : 11

  574. : 4

  575. : 2

  576. : 1

  577. : 12

  578. : 7

  579. : 4

  580. : 10

  581. : 7

  582. : 11

  583. : 13

  584. : 6

  585. : 1

  586. : 8

  587. : 5

  588. : 5

  589. : 0

  590. : 3

  591. : 15

  592. : 15

  593. : 10

  594. : 13

  595. : 3

  596. : 0

  597. : 9

  598. : 14

  599. : 8

  600. : 9

  601. : 6

  602. : 4

  603. : 11

  604. : 2

  605. : 8

  606. : 1

  607. : 12

  608. : 11

  609. : 7

  610. : 10

  611. : 1

  612. : 13

  613. : 14

  614. : 7

  615. : 2

  616. : 8

  617. : 13

  618. : 15

  619. : 6

  620. : 9

  621. : 15

  622. : 12

  623. : 0

  624. : 5

  625. : 9

  626. : 6

  627. : 10

  628. : 3

  629. : 4

  630. : 0

  631. : 5

  632. : 14

  633. : 3

  634. S6 : 12

  635. : 10

  636. : 1

  637. : 15

  638. : 10

  639. : 4

  640. : 15

  641. : 2

  642. : 9

  643. : 7

  644. : 2

  645. : 12

  646. : 6

  647. : 9

  648. : 8

  649. : 5

  650. : 0

  651. : 6

  652. : 13

  653. : 1

  654. : 3

  655. : 13

  656. : 4

  657. : 14

  658. : 14

  659. : 0

  660. : 7

  661. : 11

  662. : 5

  663. : 3

  664. : 11

  665. : 8