-
Notifications
You must be signed in to change notification settings - Fork 1
/
Forth-STC-Words.inc
2638 lines (2413 loc) · 108 KB
/
Forth-STC-Words.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; memory-size: 65536 bytes, (10000 hex)
; data-stack: fe00, grows up
; return-stack: fffc, grows down
; -------------------------------------------------------------------------
; -------------------------------------------------------------------------
; -------------------------------------------------------------------------
dict_ENTRY L0040, L0000, 0, 6, "(HERE)"
L00000040:
m_push 75
ret
m_pop eax
cmp eax, 0
jne L18000015 ; JMPNZ
call prim_BREAK
m_push 90
ret
dict_ENTRY L005E, L004F, 0, 4, "BASE"
L0000005E:
m_push 105
ret
m_pop eax
cmp eax, 0
jne L18000000 ; JMPNZ
call prim_BREAK
m_push 120
ret
dict_ENTRY L007C, L006D, 0, 8, "(MEM_SZ)"
L0000007C:
m_push 135
ret
m_push -40232960
m_push 150
ret
dict_ENTRY L009A, L008B, 0, 5, "(tmp)"
L0000009A:
m_push 165
ret
dict_ENTRY L00A9, L009A, 0, 4, "#NEG"
L000000A9:
m_push 180
ret
dict_ENTRY L00B8, L00A9, 0, 4, "#LEN"
L000000B8:
m_push 195
ret
m_pop eax ; DROP
dict_ENTRY L00C7, L00B8, 0, 8, "INPUT-FP"
L000000C7:
m_push 210
ret
dict_ENTRY L00D7, L00C7, 0, 4, "CELL"
L000000D7:
m_push 4 ; CLITERAL (0004)
ret
dict_ENTRY L00DF, L00D7, 0, 4, "HERE"
L000000DF:
call L00000040 ; CALL 0040, (HERE)
mov ebx, [ebx] ; FETCH
ret
dict_ENTRY L00EB, L00DF, 0, 4, "LAST"
L000000EB:
call L0000004F ; CALL 004F, (LAST)
mov ebx, [ebx] ; FETCH
ret
dict_ENTRY L00F7, L00EB, 0, 2, "C,"
L000000F7:
call L000000DF ; CALL 00DF, HERE
call prim_CSTORE
call L000000DF ; CALL 00DF, HERE
m_push 1 ; CLITERAL (0001)
call prim_ADD
call L00000040 ; CALL 0040, (HERE)
call prim_STORE
ret
dict_ENTRY L0111, L00F7, 0, 1, ","
L00000111:
call L000000DF ; CALL 00DF, HERE
call prim_STORE
call L000000DF ; CALL 00DF, HERE
call L000000D7 ; CALL 00D7, CELL
call prim_ADD
call L00000040 ; CALL 0040, (HERE)
call prim_STORE
ret
dict_ENTRY L012E, L0111, 1, 1, "["
L0000012E:
m_push 0 ; CLITERAL (0000)
call L0000006D ; CALL 006D, STATE
call prim_STORE
ret
dict_ENTRY L013C, L012E, 1, 1, "]"
L0000013C:
m_push 1 ; CLITERAL (0001)
call L0000006D ; CALL 006D, STATE
call prim_STORE
ret
dict_ENTRY L014A, L013C, 0, 7, "LITERAL"
L0000014A:
m_push 1 ; CLITERAL (0001)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L0157, L014A, 2, 1, "@"
L00000157:
mov ebx, [ebx] ; FETCH
ret
dict_ENTRY L015E, L0157, 2, 1, "!"
L0000015E:
call prim_STORE
ret
dict_ENTRY L0165, L015E, 2, 4, "SWAP"
L00000165:
call prim_SWAP
ret
dict_ENTRY L016C, L0165, 2, 4, "DROP"
L0000016C:
m_pop eax ; DROP
ret
dict_ENTRY L0173, L016C, 2, 3, "DUP"
L00000173:
m_push ebx ; DUP
ret
dict_ENTRY L017A, L0173, 0, 8, "SLITERAL"
L0000017A:
m_push 7 ; CLITERAL (0007)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L0187, L017A, 0, 3, "JMP"
L00000187:
m_push 8 ; CLITERAL (0008)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L0194, L0187, 0, 4, "JMPZ"
L00000194:
m_push 9 ; CLITERAL (0009)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L01A1, L0194, 0, 5, "JMPNZ"
L000001A1:
m_push 10 ; CLITERAL (000A)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L01AE, L01A1, 0, 4, "CALL"
L000001AE:
m_push 11 ; CLITERAL (000B)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L01BB, L01AE, 0, 3, "RET"
L000001BB:
m_push 12 ; CLITERAL (000C)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L01C8, L01BB, 2, 2, "OR"
L000001C8:
call prim_OR
ret
dict_ENTRY L01CF, L01C8, 2, 8, "CLITERAL"
L000001CF:
m_push 14 ; CLITERAL (000E)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L01DC, L01CF, 2, 2, "C@"
L000001DC:
call prim_CFETCH
ret
dict_ENTRY L01E3, L01DC, 2, 2, "C!"
L000001E3:
call prim_CSTORE
ret
dict_ENTRY L01EA, L01E3, 2, 1, "+"
L000001EA:
call prim_ADD
ret
dict_ENTRY L01F1, L01EA, 2, 1, "-"
L000001F1:
call prim_SUB
ret
dict_ENTRY L01F8, L01F1, 2, 1, "*"
L000001F8:
call prim_MUL
ret
dict_ENTRY L01FF, L01F8, 2, 1, "/"
L000001FF:
call prim_DIV
ret
dict_ENTRY L0206, L01FF, 2, 1, "<"
L00000206:
call prim_LT
ret
dict_ENTRY L020D, L0206, 2, 1, "="
L0000020D:
call prim_EQ
ret
dict_ENTRY L0214, L020D, 2, 1, ">"
L00000214:
call prim_GT
ret
dict_ENTRY L021B, L0214, 2, 5, "DICTP"
L0000021B:
m_push 24 ; CLITERAL (0018)
call L000000F7 ; CALL 00F7, C,
ret
dict_ENTRY L0228, L021B, 2, 4, "EMIT"
L00000228:
call prim_EMIT
ret
dict_ENTRY L022F, L0228, 2, 4, "OVER"
L0000022F:
call prim_OVER
ret
dict_ENTRY L0236, L022F, 2, 7, "COMPARE"
L00000236:
call prim_COMPARE
ret
dict_ENTRY L023D, L0236, 2, 5, "FOPEN"
L0000023D:
call prim_FOPEN
ret
dict_ENTRY L0244, L023D, 2, 5, "FREAD"
L00000244:
call prim_FREAD
ret
dict_ENTRY L024B, L0244, 2, 9, "FREADLINE"
L0000024B:
call prim_FREADLINE
ret
dict_ENTRY L0252, L024B, 2, 6, "FWRITE"
L00000252:
call prim_FWRITE
ret
dict_ENTRY L0259, L0252, 2, 6, "FCLOSE"
L00000259:
call prim_FCLOSE
ret
dict_ENTRY L0260, L0259, 2, 2, ">R"
L00000260:
m_pop eax ; DTOR (>R)
m_rpush eax
ret
dict_ENTRY L0267, L0260, 2, 2, "R>"
L00000267:
m_rpop eax ; RTOD (R>)
m_push eax
ret
dict_ENTRY L026E, L0267, 2, 8, "LOGLEVEL"
L0000026E:
call prim_LOGLEVEL
ret
dict_ENTRY L0275, L026E, 2, 3, "AND"
L00000275:
call prim_AND
ret
dict_ENTRY L027C, L0275, 2, 4, "PICK"
L0000027C:
call prim_PICK
ret
dict_ENTRY L0283, L027C, 2, 5, "DEPTH"
L00000283:
call prim_DEPTH
ret
dict_ENTRY L028A, L0283, 2, 5, "GETCH"
L0000028A:
call prim_GETCH
ret
dict_ENTRY L0291, L028A, 2, 8, "COMPAREI"
L00000291:
call prim_COMPAREI
ret
dict_ENTRY L0298, L0291, 2, 6, "USPUSH"
L00000298:
call prim_USPUSH
ret
dict_ENTRY L029F, L0298, 2, 5, "USPOP"
L0000029F:
call prim_USPOP
ret
dict_ENTRY L02A6, L029F, 2, 3, "INC"
L000002A6:
m_onePlus
ret
dict_ENTRY L02AD, L02A6, 2, 6, "RDEPTH"
L000002AD:
ret
dict_ENTRY L02B4, L02AD, 2, 3, "DEC"
L000002B4:
m_oneMinus
ret
dict_ENTRY L02BB, L02B4, 2, 7, "TIMER"
L000002BB:
call prim_GETTICK
ret
dict_ENTRY L02C2, L02BB, 2, 5, "BREAK"
L000002C2:
call prim_BREAK
ret
dict_ENTRY L02C9, L02C2, 2, 5, "RESET"
L000002C9:
call prim_RESET
ret
dict_ENTRY L02D0, L02C9, 2, 3, "BYE"
L000002D0:
call prim_BYE
ret
dict_ENTRY L02D7, L02D0, 0, 6, "INLINE"
L000002D7:
call L000000EB ; CALL 00EB, LAST
m_push 2 ; CLITERAL (0002)
call L000000D7 ; CALL 00D7, CELL
call prim_MUL
call prim_ADD
m_push ebx ; DUP
call prim_CFETCH
m_push 2 ; CLITERAL (0002)
call prim_OR
call prim_SWAP
call prim_CSTORE
ret
dict_ENTRY L02F2, L02D7, 0, 9, "IMMEDIATE"
L000002F2:
call L000000EB ; CALL 00EB, LAST
m_push 2 ; CLITERAL (0002)
call L000000D7 ; CALL 00D7, CELL
call prim_MUL
call prim_ADD
m_push ebx ; DUP
call prim_CFETCH
m_push 1 ; CLITERAL (0001)
call prim_OR
call prim_SWAP
call prim_CSTORE
ret
dict_ENTRY L030D, L02F2, 2, 5, "CELLS"
L0000030D:
call L000000D7 ; CALL 00D7, CELL
call prim_MUL
ret
dict_ENTRY L0319, L030D, 2, 14, "FLAG_IMMEDIATE"
L00000319:
m_push 1 ; CLITERAL (0001)
ret
dict_ENTRY L0321, L0319, 2, 11, "FLAG_INLINE"
L00000321:
m_push 2 ; CLITERAL (0002)
ret
dict_ENTRY L0329, L0321, 0, 3, "HEX"
L00000329:
m_push 16 ; CLITERAL (0010)
call L0000005E ; CALL 005E, BASE
call prim_STORE
ret
dict_ENTRY L0337, L0329, 0, 7, "DECIMAL"
L00000337:
m_push 10 ; CLITERAL (000A)
call L0000005E ; CALL 005E, BASE
call prim_STORE
ret
dict_ENTRY L0345, L0337, 0, 5, "OCTAL"
L00000345:
m_push 8 ; CLITERAL (0008)
call L0000005E ; CALL 005E, BASE
call prim_STORE
ret
dict_ENTRY L0353, L0345, 0, 6, "BINARY"
L00000353:
m_push 2 ; CLITERAL (0002)
call L0000005E ; CALL 005E, BASE
call prim_STORE
ret
dict_ENTRY L0361, L0353, 0, 2, "ON"
L00000361:
m_push 1 ; CLITERAL (0001)
call prim_SWAP
call prim_STORE
ret
dict_ENTRY L036B, L0361, 0, 3, "OFF"
L0000036B:
m_push 0 ; CLITERAL (0000)
call prim_SWAP
call prim_STORE
ret
dict_ENTRY L0375, L036B, 0, 10, "?COMPILING"
L00000375:
call L0000006D ; CALL 006D, STATE
mov ebx, [ebx] ; FETCH
ret
dict_ENTRY L0381, L0375, 1, 2, "IF"
L00000381:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L000003A1 ; JMPZ
call L00000194 ; CALL 0194, JMPZ
call L000000DF ; CALL 00DF, HERE
m_push 0 ; CLITERAL (0000)
call L00000111 ; CALL 0111, ,
L000003A1: ret
dict_ENTRY L03A2, L0381, 1, 4, "ELSE"
L000003A2:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L000003CA ; JMPZ
call L00000187 ; CALL 0187, JMP
call L000000DF ; CALL 00DF, HERE
call prim_SWAP
m_push 0 ; CLITERAL (0000)
call L00000111 ; CALL 0111, ,
call L000000DF ; CALL 00DF, HERE
call prim_SWAP
call prim_STORE
L000003CA: ret
dict_ENTRY L03CB, L03A2, 1, 4, "THEN"
L000003CB:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L000003E1 ; JMPZ
call L000000DF ; CALL 00DF, HERE
call prim_SWAP
call prim_STORE
L000003E1: ret
dict_ENTRY L03E2, L03CB, 1, 5, "BEGIN"
L000003E2:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L000003F6 ; JMPZ
call L000000DF ; CALL 00DF, HERE
L000003F6: ret
dict_ENTRY L03F7, L03E2, 1, 5, "AGAIN"
L000003F7:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L00000410 ; JMPZ
call L00000187 ; CALL 0187, JMP
call L00000111 ; CALL 0111, ,
L00000410: ret
dict_ENTRY L0411, L03F7, 1, 5, "WHILE"
L00000411:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L0000042A ; JMPZ
call L000001A1 ; CALL 01A1, JMPNZ
call L00000111 ; CALL 0111, ,
L0000042A: ret
dict_ENTRY L042B, L0411, 1, 5, "UNTIL"
L0000042B:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L00000444 ; JMPZ
call L00000194 ; CALL 0194, JMPZ
call L00000111 ; CALL 0111, ,
L00000444: ret
dict_ENTRY L0445, L042B, 1, 5, "LEAVE"
L00000445:
call L00000375 ; CALL 0375, ?COMPILING
m_pop eax
cmp eax, 0
je L00000459 ; JMPZ
call L000001BB ; CALL 01BB, RET
L00000459: ret
dict_ENTRY L045A, L0445, 0, 6, "MEM_SZ"
L0000045A:
call L0000007C ; CALL 007C, (MEM_SZ)
mov ebx, [ebx] ; FETCH
ret
dict_ENTRY L0466, L045A, 2, 8, "TRACE-ON"
L00000466:
m_push 2 ; CLITERAL (0002)
call prim_LOGLEVEL
ret
dict_ENTRY L046F, L0466, 2, 9, "TRACE-OFF"
L0000046F:
m_push 0 ; CLITERAL (0000)
call prim_LOGLEVEL
ret
dict_ENTRY L0478, L046F, 2, 8, "DEBUG-ON"
L00000478:
m_push 1 ; CLITERAL (0001)
call prim_LOGLEVEL
ret
dict_ENTRY L0481, L0478, 2, 9, "DEBUG-OFF"
L00000481:
m_push 0 ; CLITERAL (0000)
call prim_LOGLEVEL
ret
dict_ENTRY L048A, L0481, 2, 2, "R@"
L0000048A:
m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
ret
dict_ENTRY L0493, L048A, 2, 5, "RDROP"
L00000493:
m_rpop eax ; RTOD (R>)
m_push eax
m_pop eax ; DROP
ret
dict_ENTRY L049B, L0493, 2, 4, "2DUP"
L0000049B:
call prim_OVER
call prim_OVER
ret
dict_ENTRY L04A3, L049B, 2, 5, "2DROP"
L000004A3:
m_pop eax ; DROP
m_pop eax ; DROP
ret
dict_ENTRY L04AB, L04A3, 2, 4, "TUCK"
L000004AB:
call prim_SWAP
call prim_OVER
ret
dict_ENTRY L04B3, L04AB, 2, 3, "NIP"
L000004B3:
call prim_SWAP
m_pop eax ; DROP
ret
dict_ENTRY L04BB, L04B3, 2, 3, "ROT"
L000004BB:
m_pop eax ; DTOR (>R)
m_rpush eax
call prim_SWAP
m_rpop eax ; RTOD (R>)
m_push eax
call prim_SWAP
ret
dict_ENTRY L04C5, L04BB, 2, 4, "-ROT"
L000004C5:
call prim_SWAP
m_pop eax ; DTOR (>R)
m_rpush eax
call prim_SWAP
m_rpop eax ; RTOD (R>)
m_push eax
ret
dict_ENTRY L04CF, L04C5, 2, 2, "1+"
L000004CF:
m_onePlus
ret
dict_ENTRY L04D6, L04CF, 2, 2, "1-"
L000004D6:
m_oneMinus
ret
dict_ENTRY L04DD, L04D6, 2, 2, "2*"
L000004DD:
m_push 2 ; CLITERAL (0002)
call prim_MUL
ret
dict_ENTRY L04E6, L04DD, 2, 2, "2/"
L000004E6:
m_push 2 ; CLITERAL (0002)
call prim_DIV
ret
dict_ENTRY L04EF, L04E6, 0, 2, "+="
L000004EF:
call prim_OVER
mov ebx, [ebx] ; FETCH
call prim_ADD
call prim_SWAP
call prim_STORE
ret
dict_ENTRY L04FA, L04EF, 0, 2, "-="
L000004FA:
call prim_OVER
mov ebx, [ebx] ; FETCH
call prim_SWAP
call prim_SUB
call prim_SWAP
call prim_STORE
ret
dict_ENTRY L0506, L04FA, 0, 2, "++"
L00000506:
m_push 1 ; CLITERAL (0001)
call L000004EF ; CALL 04EF, +=
ret
dict_ENTRY L0513, L0506, 0, 2, "--"
L00000513:
m_push 1 ; CLITERAL (0001)
call L000004FA ; CALL 04FA, -=
ret
dict_ENTRY L0520, L0513, 0, 3, "C++"
L00000520:
m_push ebx ; DUP
call prim_CFETCH
m_onePlus
call prim_SWAP
call prim_CSTORE
ret
dict_ENTRY L052B, L0520, 0, 3, "C--"
L0000052B:
m_push ebx ; DUP
call prim_CFETCH
m_oneMinus
call prim_SWAP
call prim_CSTORE
ret
dict_ENTRY L0536, L052B, 0, 2, "+!"
L00000536:
call prim_SWAP
call prim_OVER
mov ebx, [ebx] ; FETCH
call prim_ADD
call prim_SWAP
call prim_STORE
ret
dict_ENTRY L0542, L0536, 0, 3, "C+!"
L00000542:
call prim_SWAP
call prim_OVER
call prim_CFETCH
call prim_ADD
call prim_SWAP
call prim_CSTORE
ret
dict_ENTRY L054E, L0542, 2, 2, "0="
L0000054E:
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
dict_ENTRY L0557, L054E, 2, 2, "<>"
L00000557:
call prim_EQ
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
dict_ENTRY L0561, L0557, 2, 2, "<="
L00000561:
call prim_GT
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
dict_ENTRY L056B, L0561, 2, 2, ">="
L0000056B:
call prim_LT
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
dict_ENTRY L0575, L056B, 2, 4, "TRUE"
L00000575:
m_push 1 ; CLITERAL (0001)
ret
dict_ENTRY L057D, L0575, 2, 5, "FALSE"
L0000057D:
m_push 0 ; CLITERAL (0000)
ret
dict_ENTRY L0585, L057D, 2, 3, "NOT"
L00000585:
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
dict_ENTRY L058E, L0585, 0, 5, "COUNT"
L0000058E:
m_push ebx ; DUP
m_onePlus
call prim_SWAP
call prim_CFETCH
ret
dict_ENTRY L0598, L058E, 0, 4, "TYPE"
L00000598:
call prim_OVER
call prim_ADD
call prim_SWAP
L000005A0: call prim_OVER
call prim_OVER
call prim_GT
m_push 0 ; CLITERAL (0000)
call prim_EQ
m_pop eax
cmp eax, 0
je L000005AE ; JMPZ
m_pop eax ; DROP
m_pop eax ; DROP
ret
L000005AE: m_push ebx ; DUP
call prim_CFETCH
call prim_EMIT
m_onePlus
jmp L000005A0 ; JMP
ret
dict_ENTRY L05B8, L0598, 0, 2, "CT"
L000005B8:
call L0000058E ; CALL 058E, COUNT
call L00000598 ; CALL 0598, TYPE
ret
dict_ENTRY L05C8, L05B8, 1, 1, "\"
L000005C8:
m_push 0 ; CLITERAL (0000)
call L0000008B ; CALL 008B, >IN
mov ebx, [ebx] ; FETCH
call prim_CSTORE
ret
dict_ENTRY L05D7, L05C8, 1, 1, "("
L000005D7:
L000005DC: call L0000008B ; CALL 008B, >IN
mov ebx, [ebx] ; FETCH
call prim_CFETCH
m_push ebx ; DUP
m_push 0 ; CLITERAL (0000)
call prim_EQ
m_pop eax
cmp eax, 0
je L00000608 ; JMPZ
call prim_SLITERAL ; (19), 'missing closing ')'', (0)
call L000005B8 ; CALL 05B8, CT
call prim_RESET
L00000608: call L0000008B ; CALL 008B, >IN
call L00000506 ; CALL 0506, ++
m_push 41 ; CLITERAL (0029)
call prim_EQ
m_pop eax
cmp eax, 0
je L0000061B ; JMPZ
ret
L0000061B: jmp L000005DC ; JMP
ret
dict_ENTRY L0621, L05D7, 2, 2, "BL"
L00000621:
m_push 32 ; CLITERAL (0020)
call prim_EMIT
ret
dict_ENTRY L062A, L0621, 2, 4, "CRLF"
L0000062A:
m_push 13 ; CLITERAL (000D)
call prim_EMIT
m_push 10 ; CLITERAL (000A)
call prim_EMIT
ret
dict_ENTRY L0636, L062A, 2, 2, "CR"
L00000636:
m_push 13 ; CLITERAL (000D)
call prim_EMIT
m_push 10 ; CLITERAL (000A)
call prim_EMIT
ret
dict_ENTRY L0642, L0636, 0, 7, "BETWEEN"
L00000642:
m_push 2 ; CLITERAL (0002)
call prim_PICK
call prim_LT
m_pop eax
cmp eax, 0
je L00000655 ; JMPZ
m_pop eax ; DROP
m_pop eax ; DROP
m_push 0 ; CLITERAL (0000)
ret
L00000655: call prim_LT
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
dict_ENTRY L065A, L0642, 0, 8, "tmp-init"
L0000065A:
call L000000EB ; CALL 00EB, LAST
call L0000009A ; CALL 009A, (tmp)
call prim_STORE
ret
dict_ENTRY L066B, L065A, 0, 7, "tmp-cur"
L0000066B:
call L0000009A ; CALL 009A, (tmp)
mov ebx, [ebx] ; FETCH
ret
dict_ENTRY L0677, L066B, 0, 9, "tmp-alloc"
L00000677:
call L0000009A ; CALL 009A, (tmp)
call prim_SWAP
call prim_OVER
mov ebx, [ebx] ; FETCH
call prim_SWAP
call prim_SUB
call prim_SWAP
call prim_STORE
call L0000066B ; CALL 066B, tmp-cur
ret
dict_ENTRY L068E, L0677, 0, 3, "PAD"
L0000068E:
call L0000065A ; CALL 065A, tmp-init
m_push 200 ; CLITERAL (00C8)
call L00000677 ; CALL 0677, tmp-alloc
ret
dict_ENTRY L06A0, L068E, 0, 8, "getInput"
L000006A0:
call L0000068E ; CALL 068E, PAD
m_push 128 ; CLITERAL (0080)
m_push 0 ; CLITERAL (0000)
call prim_FREADLINE
m_pop eax ; DROP
call L0000068E ; CALL 068E, PAD
ret
dict_ENTRY L06B6, L06A0, 0, 6, "skipWS"
L000006B6:
L000006BB: m_push ebx ; DUP
call prim_CFETCH
m_push ebx ; DUP
m_pop eax
cmp eax, 0
je L000006D7 ; JMPZ
m_push 32 ; CLITERAL (0020)
call prim_GT
m_pop eax
cmp eax, 0
je L000006D1 ; JMPZ
ret
jmp L000006D2 ; JMP
L000006D1: m_onePlus
L000006D2: jmp L000006D9 ; JMP
L000006D7: m_pop eax ; DROP
ret
L000006D9: jmp L000006BB ; JMP
ret
dict_ENTRY L06DF, L06B6, 0, 10, "getOneWord"
L000006DF:
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
m_pop eax ; DTOR (>R)
m_rpush eax
L000006E7: m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call prim_CFETCH
m_push 32 ; CLITERAL (0020)
call prim_GT
m_pop eax
cmp eax, 0
je L000006FB ; JMPZ
m_rpop eax ; RTOD (R>)
m_push eax
m_onePlus
m_pop eax ; DTOR (>R)
m_rpush eax
jmp L00000711 ; JMP
L000006FB: m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call prim_CFETCH
m_pop eax
cmp eax, 0
je L0000070D ; JMPZ
m_push 0 ; CLITERAL (0000)
m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call prim_CSTORE
m_rpop eax ; RTOD (R>)
m_push eax
m_onePlus
m_pop eax ; DTOR (>R)
m_rpush eax
L0000070D: m_rpop eax ; RTOD (R>)
m_push eax
m_rpop eax ; RTOD (R>)
m_push eax
call prim_SWAP
ret
L00000711: jmp L000006E7 ; JMP
ret
dict_ENTRY L0717, L06DF, 0, 9, "DICT>NEXT"