-
Notifications
You must be signed in to change notification settings - Fork 1
/
Forth-STC-Words.ASM
1910 lines (1789 loc) · 83.6 KB
/
Forth-STC-Words.ASM
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
; NOTE: This is the real file that the STC uses
; The other file line this, Forth-STC-Words.inc is overwritten by Forth-STC-dis when it runs
;
; memory-size: 65536 bytes, (10000 hex)
; data-stack: fe00, grows up
; return-stack: fffc, grows down
; -------------------------------------------------------------------------
; -------------------------------------------------------------------------
; -------------------------------------------------------------------------
L0000FDED: dd L0000FDFC ; DICTP: (FDED), NEXT
db 0 ; FLAGS
db 4, 'CELL', 0 ; WORD: CELL
L00000040:
m_push 4 ; LITERAL
ret
L0000FDDE: dd L0000FDED ; DICTP: (FDDE), NEXT
db 0 ; FLAGS
db 4, 'BASE', 0 ; WORD: BASE
L0000004B:
m_push BASE_ADDR ; LITERAL
ret
L0000FDCD: dd L0000FDDE ; DICTP: (FDCD), NEXT
db 0 ; FLAGS
db 6, '(HERE)', 0 ; WORD: (HERE)
L00000056:
m_push HERE_ADDR ; LITERAL
ret
L0000FDBC: dd L0000FDCD ; DICTP: (FDBC), NEXT
db 0 ; FLAGS
db 6, '(LAST)', 0 ; WORD: (LAST)
L00000061:
m_push LAST_ADDR ; LITERAL
ret
L0000FDAC: dd L0000FDBC ; DICTP: (FDAC), NEXT
db 0 ; FLAGS
db 5, 'STATE', 0 ; WORD: STATE
L0000006C:
m_push STATE_ADDR ; LITERAL
ret
L0000FD9F: dd L0000FDAC ; DICTP: (FD9F), NEXT
db 0 ; FLAGS
db 2, 'C,', 0 ; WORD: C,
L00000077:
m_push 16 ; CLITERAL (0010)
mov ebx, [ebx] ; FETCH
call prim_CSTORE
m_push 16 ; CLITERAL (0010)
mov ebx, [ebx] ; FETCH
m_push 1 ; CLITERAL (0001)
call prim_ADD
m_push 16 ; CLITERAL (0010)
call prim_STORE
ret
L0000FD93: dd L0000FD9F ; DICTP: (FD93), NEXT
db 0 ; FLAGS
db 1, ',', 0 ; WORD: ,
L0000008A:
m_push 16 ; CLITERAL (0010)
mov ebx, [ebx] ; FETCH
call prim_STORE
m_push 16 ; CLITERAL (0010)
mov ebx, [ebx] ; FETCH
m_push 4 ; CLITERAL (0004)
call prim_ADD
m_push 16 ; CLITERAL (0010)
call prim_STORE
ret
L0000FD87: dd L0000FD93 ; DICTP: (FD87), NEXT
db 1 ; FLAGS
db 1, '[', 0 ; WORD: [
L0000009D:
m_push 0 ; CLITERAL (0000)
m_push 32 ; CLITERAL (0020)
call prim_STORE
ret
L0000FD7B: dd L0000FD87 ; DICTP: (FD7B), NEXT
db 1 ; FLAGS
db 1, ']', 0 ; WORD: ]
L000000A8:
m_push 1 ; CLITERAL (0001)
m_push 32 ; CLITERAL (0020)
call prim_STORE
ret
L0000FD69: dd L0000FD7B ; DICTP: (FD69), NEXT
db 0 ; FLAGS
db 7, 'LITERAL', 0 ; WORD: LITERAL
L000000B3:
m_push 1 ; CLITERAL (0001)
call L00000077 ; CALL 0077, C,
ret
L0000FD5D: dd L0000FD69 ; DICTP: (FD5D), NEXT
db 2 ; FLAGS
db 1, '@', 0 ; WORD: @
L000000C0:
mov ebx, [ebx] ; FETCH
ret
L0000FD51: dd L0000FD5D ; DICTP: (FD51), NEXT
db 2 ; FLAGS
db 1, '!', 0 ; WORD: !
L000000C7:
call prim_STORE
ret
L0000FD42: dd L0000FD51 ; DICTP: (FD42), NEXT
db 2 ; FLAGS
db 4, 'SWAP', 0 ; WORD: SWAP
L000000CE:
call prim_SWAP
ret
L0000FD33: dd L0000FD42 ; DICTP: (FD33), NEXT
db 2 ; FLAGS
db 4, 'DROP', 0 ; WORD: DROP
L000000D5:
m_pop eax ; DROP
ret
L0000FD25: dd L0000FD33 ; DICTP: (FD25), NEXT
db 2 ; FLAGS
db 3, 'DUP', 0 ; WORD: DUP
L000000DC:
m_push ebx ; DUP
ret
L0000FD12: dd L0000FD25 ; DICTP: (FD12), NEXT
db 0 ; FLAGS
db 8, 'SLITERAL', 0 ; WORD: SLITERAL
L000000E3:
m_push 7 ; CLITERAL (0007)
call L00000077 ; CALL 0077, C,
ret
L0000FD04: dd L0000FD12 ; DICTP: (FD04), NEXT
db 0 ; FLAGS
db 3, 'JMP', 0 ; WORD: JMP
L000000F0:
m_push 8 ; CLITERAL (0008)
call L00000077 ; CALL 0077, C,
ret
L0000FCF5: dd L0000FD04 ; DICTP: (FCF5), NEXT
db 0 ; FLAGS
db 4, 'JMPZ', 0 ; WORD: JMPZ
L000000FD:
m_push 9 ; CLITERAL (0009)
call L00000077 ; CALL 0077, C,
ret
L0000FCE5: dd L0000FCF5 ; DICTP: (FCE5), NEXT
db 0 ; FLAGS
db 5, 'JMPNZ', 0 ; WORD: JMPNZ
L0000010A:
m_push 10 ; CLITERAL (000A)
call L00000077 ; CALL 0077, C,
ret
L0000FCD6: dd L0000FCE5 ; DICTP: (FCD6), NEXT
db 0 ; FLAGS
db 4, 'CALL', 0 ; WORD: CALL
L00000117:
m_push 11 ; CLITERAL (000B)
call L00000077 ; CALL 0077, C,
ret
L0000FCC8: dd L0000FCD6 ; DICTP: (FCC8), NEXT
db 0 ; FLAGS
db 3, 'RET', 0 ; WORD: RET
L00000124:
m_push 12 ; CLITERAL (000C)
call L00000077 ; CALL 0077, C,
ret
L0000FCBB: dd L0000FCC8 ; DICTP: (FCBB), NEXT
db 2 ; FLAGS
db 2, 'OR', 0 ; WORD: OR
L00000131:
call prim_OR
ret
L0000FCA8: dd L0000FCBB ; DICTP: (FCA8), NEXT
db 2 ; FLAGS
db 8, 'CLITERAL', 0 ; WORD: CLITERAL
L00000138:
m_push 14 ; CLITERAL (000E)
call L00000077 ; CALL 0077, C,
ret
L0000FC9B: dd L0000FCA8 ; DICTP: (FC9B), NEXT
db 2 ; FLAGS
db 2, 'C@', 0 ; WORD: C@
L00000145:
call prim_CFETCH
ret
L0000FC8E: dd L0000FC9B ; DICTP: (FC8E), NEXT
db 2 ; FLAGS
db 2, 'C!', 0 ; WORD: C!
L0000014C:
call prim_CSTORE
ret
L0000FC82: dd L0000FC8E ; DICTP: (FC82), NEXT
db 2 ; FLAGS
db 1, '+', 0 ; WORD: +
L00000153:
call prim_ADD
ret
L0000FC76: dd L0000FC82 ; DICTP: (FC76), NEXT
db 2 ; FLAGS
db 1, '-', 0 ; WORD: -
L0000015A:
call prim_SUB
ret
L0000FC6A: dd L0000FC76 ; DICTP: (FC6A), NEXT
db 2 ; FLAGS
db 1, '*', 0 ; WORD: *
L00000161:
call prim_MUL
ret
L0000FC5E: dd L0000FC6A ; DICTP: (FC5E), NEXT
db 2 ; FLAGS
db 1, '/', 0 ; WORD: /
L00000168:
call prim_DIV
ret
L0000FC52: dd L0000FC5E ; DICTP: (FC52), NEXT
db 2 ; FLAGS
db 1, '<', 0 ; WORD: <
L0000016F:
call prim_LT
ret
L0000FC46: dd L0000FC52 ; DICTP: (FC46), NEXT
db 2 ; FLAGS
db 1, '=', 0 ; WORD: =
L00000176:
call prim_EQ
ret
L0000FC3A: dd L0000FC46 ; DICTP: (FC3A), NEXT
db 2 ; FLAGS
db 1, '>', 0 ; WORD: >
L0000017D:
call prim_GT
ret
L0000FC2A: dd L0000FC3A ; DICTP: (FC2A), NEXT
db 2 ; FLAGS
db 5, 'DICTP', 0 ; WORD: DICTP
L00000184:
m_push 24 ; CLITERAL (0018)
call L00000077 ; CALL 0077, C,
ret
L0000FC1B: dd L0000FC2A ; DICTP: (FC1B), NEXT
db 2 ; FLAGS
db 4, 'EMIT', 0 ; WORD: EMIT
L00000191:
call prim_EMIT
ret
L0000FC0C: dd L0000FC1B ; DICTP: (FC0C), NEXT
db 2 ; FLAGS
db 4, 'OVER', 0 ; WORD: OVER
L00000198:
call prim_OVER
ret
L0000FBFA: dd L0000FC0C ; DICTP: (FBFA), NEXT
db 2 ; FLAGS
db 7, 'COMPARE', 0 ; WORD: COMPARE
L0000019F:
call prim_COMPARE
ret
L0000FBEA: dd L0000FBFA ; DICTP: (FBEA), NEXT
db 2 ; FLAGS
db 5, 'FOPEN', 0 ; WORD: FOPEN
L000001A6:
call prim_FOPEN
ret
L0000FBDA: dd L0000FBEA ; DICTP: (FBDA), NEXT
db 2 ; FLAGS
db 5, 'FREAD', 0 ; WORD: FREAD
L000001AD:
call prim_FREAD
ret
L0000FBC6: dd L0000FBDA ; DICTP: (FBC6), NEXT
db 2 ; FLAGS
db 9, 'FREADLINE', 0 ; WORD: FREADLINE
L000001B4:
call prim_FREADLINE
ret
L0000FBB5: dd L0000FBC6 ; DICTP: (FBB5), NEXT
db 2 ; FLAGS
db 6, 'FWRITE', 0 ; WORD: FWRITE
L000001BB:
call prim_FWRITE
ret
L0000FBA4: dd L0000FBB5 ; DICTP: (FBA4), NEXT
db 2 ; FLAGS
db 6, 'FCLOSE', 0 ; WORD: FCLOSE
L000001C2:
call prim_FCLOSE
ret
L0000FB97: dd L0000FBA4 ; DICTP: (FB97), NEXT
db 2 ; FLAGS
db 2, '>R', 0 ; WORD: >R
L000001C9:
m_pop eax ; DTOR (>R)
m_rpush eax
ret
L0000FB8A: dd L0000FB97 ; DICTP: (FB8A), NEXT
db 2 ; FLAGS
db 2, 'R>', 0 ; WORD: R>
L000001D0:
m_rpop eax ; RTOD (R>)
m_push eax
ret
L0000FB77: dd L0000FB8A ; DICTP: (FB77), NEXT
db 2 ; FLAGS
db 8, 'LOGLEVEL', 0 ; WORD: LOGLEVEL
L000001D7:
call prim_LOGLEVEL
ret
L0000FB69: dd L0000FB77 ; DICTP: (FB69), NEXT
db 2 ; FLAGS
db 3, 'AND', 0 ; WORD: AND
L000001DE:
call prim_AND
ret
L0000FB5A: dd L0000FB69 ; DICTP: (FB5A), NEXT
db 2 ; FLAGS
db 4, 'PICK', 0 ; WORD: PICK
L000001E5:
call prim_PICK
ret
L0000FB4A: dd L0000FB5A ; DICTP: (FB4A), NEXT
db 2 ; FLAGS
db 5, 'DEPTH', 0 ; WORD: DEPTH
L000001EC:
call prim_DEPTH
ret
L0000FB3A: dd L0000FB4A ; DICTP: (FB3A), NEXT
db 2 ; FLAGS
db 5, 'GETCH', 0 ; WORD: GETCH
L000001F3:
call prim_GETCH
ret
L0000FB27: dd L0000FB3A ; DICTP: (FB27), NEXT
db 2 ; FLAGS
db 8, 'COMPAREI', 0 ; WORD: COMPAREI
L000001FA:
call prim_COMPAREI
ret
L0000FB16: dd L0000FB27 ; DICTP: (FB16), NEXT
db 2 ; FLAGS
db 6, 'USINIT', 0 ; WORD: USINIT
L00000201:
call prim_USINIT
ret
L0000FB05: dd L0000FB16 ; DICTP: (FB05), NEXT
db 2 ; FLAGS
db 6, 'USPUSH', 0 ; WORD: USPUSH
L00000208:
call prim_USPUSH
ret
L0000FAF5: dd L0000FB05 ; DICTP: (FAF5), NEXT
db 2 ; FLAGS
db 5, 'USPOP', 0 ; WORD: USPOP
L0000020F:
call prim_USPOP
ret
L0000FAE5: dd L0000FAF5 ; DICTP: (FAE5), NEXT
db 2 ; FLAGS
db 5, 'BREAK', 0 ; WORD: BREAK
L00000216:
call prim_BREAK
ret
L0000FAD5: dd L0000FAE5 ; DICTP: (FAD5), NEXT
db 2 ; FLAGS
db 5, 'RESET', 0 ; WORD: RESET
L0000021D:
call prim_RESET
ret
L0000FAC7: dd L0000FAD5 ; DICTP: (FAC7), NEXT
db 2 ; FLAGS
db 3, 'BYE', 0 ; WORD: BYE
L00000224:
call prim_BYE
ret
L0000FABA: dd L0000FAC7 ; DICTP: (FABA), NEXT
db 2 ; FLAGS
db 2, 'R@', 0 ; WORD: R@
L0000022B:
m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
ret
L0000FAA9: dd L0000FABA ; DICTP: (FAA9), NEXT
db 0 ; FLAGS
db 6, 'INLINE', 0 ; WORD: INLINE
L00000234:
call L00000061 ; CALL 0061, (LAST)
mov ebx, [ebx] ; FETCH
m_push 2 ; CLITERAL (0002)
call L00000040 ; CALL 0040, 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
L0000FA95: dd L0000FAA9 ; DICTP: (FA95), NEXT
db 0 ; FLAGS
db 9, 'IMMEDIATE', 0 ; WORD: IMMEDIATE
L00000250:
call L00000061 ; CALL 0061, (LAST)
mov ebx, [ebx] ; FETCH
m_push 2 ; CLITERAL (0002)
call L00000040 ; CALL 0040, 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
L0000FA85: dd L0000FA95 ; DICTP: (FA85), NEXT
db 2 ; FLAGS
db 5, 'CELLS', 0 ; WORD: CELLS
L0000026C:
call L00000040 ; CALL 0040, CELL
call prim_MUL
ret
L0000FA76: dd L0000FA85 ; DICTP: (FA76), NEXT
db 2 ; FLAGS
db 4, 'LAST', 0 ; WORD: LAST
L00000278:
call L00000061 ; CALL 0061, (LAST)
mov ebx, [ebx] ; FETCH
ret
L0000FA67: dd L0000FA76 ; DICTP: (FA67), NEXT
db 2 ; FLAGS
db 4, 'HERE', 0 ; WORD: HERE
L00000284:
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
ret
L0000FA52: dd L0000FA67 ; DICTP: (FA52), NEXT
db 0 ; FLAGS
db 10, '?COMPILING', 0 ; WORD: ?COMPILING
L00000290:
call L0000006C ; CALL 006C, STATE
mov ebx, [ebx] ; FETCH
ret
L0000FA45: dd L0000FA52 ; DICTP: (FA45), NEXT
db 1 ; FLAGS
db 2, 'IF', 0 ; WORD: IF
L0000029C:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L000002BD ; JMPZ
call L000000FD ; CALL 00FD, JMPZ
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
m_push 0 ; CLITERAL (0000)
call L0000008A ; CALL 008A, ,
L000002BD: ret
L0000FA36: dd L0000FA45 ; DICTP: (FA36), NEXT
db 1 ; FLAGS
db 4, 'ELSE', 0 ; WORD: ELSE
L000002BE:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L000002E8 ; JMPZ
call L000000F0 ; CALL 00F0, JMP
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
call prim_SWAP
m_push 0 ; CLITERAL (0000)
call L0000008A ; CALL 008A, ,
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
call prim_SWAP
call prim_STORE
L000002E8: ret
L0000FA27: dd L0000FA36 ; DICTP: (FA27), NEXT
db 1 ; FLAGS
db 4, 'THEN', 0 ; WORD: THEN
L000002E9:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L00000300 ; JMPZ
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
call prim_SWAP
call prim_STORE
L00000300: ret
L0000FA17: dd L0000FA27 ; DICTP: (FA17), NEXT
db 1 ; FLAGS
db 5, 'BEGIN', 0 ; WORD: BEGIN
L00000301:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L00000316 ; JMPZ
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
L00000316: ret
L0000FA07: dd L0000FA17 ; DICTP: (FA07), NEXT
db 1 ; FLAGS
db 5, 'AGAIN', 0 ; WORD: AGAIN
L00000317:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L00000330 ; JMPZ
call L000000F0 ; CALL 00F0, JMP
call L0000008A ; CALL 008A, ,
L00000330: ret
L0000F9F7: dd L0000FA07 ; DICTP: (F9F7), NEXT
db 1 ; FLAGS
db 5, 'WHILE', 0 ; WORD: WHILE
L00000331:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L0000034A ; JMPZ
call L0000010A ; CALL 010A, JMPNZ
call L0000008A ; CALL 008A, ,
L0000034A: ret
L0000F9E7: dd L0000F9F7 ; DICTP: (F9E7), NEXT
db 1 ; FLAGS
db 5, 'UNTIL', 0 ; WORD: UNTIL
L0000034B:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L00000364 ; JMPZ
call L000000FD ; CALL 00FD, JMPZ
call L0000008A ; CALL 008A, ,
L00000364: ret
L0000F9D7: dd L0000F9E7 ; DICTP: (F9D7), NEXT
db 1 ; FLAGS
db 5, 'LEAVE', 0 ; WORD: LEAVE
L00000365:
call L00000290 ; CALL 0290, ?COMPILING
m_pop eax
cmp eax, 0
je L00000379 ; JMPZ
call L00000124 ; CALL 0124, RET
L00000379: ret
L0000F9C7: dd L0000F9D7 ; DICTP: (F9C7), NEXT
db 0 ; FLAGS
db 5, 'COUNT', 0 ; WORD: COUNT
L0000037A:
m_push ebx ; DUP
m_push 1 ; CLITERAL (0001)
call prim_ADD
call prim_SWAP
call prim_CFETCH
ret
L0000F9B8: dd L0000F9C7 ; DICTP: (F9B8), NEXT
db 0 ; FLAGS
db 4, 'TYPE', 0 ; WORD: TYPE
L00000386:
call prim_OVER
call prim_ADD
m_push 1 ; CLITERAL (0001)
call prim_SUB
call prim_SWAP
L00000391: call prim_OVER
call prim_OVER
call prim_LT
m_pop eax
cmp eax, 0
je L0000039C ; JMPZ
m_pop eax ; DROP
m_pop eax ; DROP
ret
L0000039C: m_push ebx ; DUP
call prim_CFETCH
call prim_EMIT
m_push 1 ; CLITERAL (0001)
call prim_ADD
jmp L00000391 ; JMP
ret
L0000F9AB: dd L0000F9B8 ; DICTP: (F9AB), NEXT
db 0 ; FLAGS
db 2, 'CR', 0 ; WORD: CR
L000003A8:
m_push 13 ; CLITERAL (000D)
call prim_EMIT
m_push 10 ; CLITERAL (000A)
call prim_EMIT
ret
L0000F998: dd L0000F9AB ; DICTP: (F998), NEXT
db 0 ; FLAGS
db 8, 'INPUT-FP', 0 ; WORD: INPUT-FP
L000003B4:
m_push 959 ; LITERAL
ret
ret
L0000F98A: dd L0000F998 ; DICTP: (F98A), NEXT
db 0 ; FLAGS
db 3, 'PAD', 0 ; WORD: PAD
L000003C4:
call L00000061 ; CALL 0061, (LAST)
mov ebx, [ebx] ; FETCH
m_push 256 ; LITERAL
call prim_SUB
ret
L0000F970: dd L0000F98A ; DICTP: (F970), NEXT
db 0 ; FLAGS
db 15, 'string-nullterm', 0 ; WORD: string-nullterm
L000003D6:
m_push 0 ; CLITERAL (0000)
call prim_SWAP
m_push ebx ; DUP
call prim_CFETCH
call prim_ADD
m_push 1 ; CLITERAL (0001)
call prim_ADD
call prim_CSTORE
ret
L0000F95A: dd L0000F970 ; DICTP: (F95A), NEXT
db 0 ; FLAGS
db 11, 'string-catc', 0 ; WORD: string-catc
L000003E6:
call prim_SWAP
call prim_OVER
m_push ebx ; DUP
call prim_CFETCH
call prim_ADD
m_push 1 ; CLITERAL (0001)
call prim_ADD
call prim_CSTORE
m_push ebx ; DUP
call prim_CFETCH
m_push 1 ; CLITERAL (0001)
call prim_ADD
call prim_SWAP
call prim_CSTORE
ret
L0000F944: dd L0000F95A ; DICTP: (F944), NEXT
db 0 ; FLAGS
db 11, 'string-copy', 0 ; WORD: string-copy
L000003FC:
m_pop eax ; DTOR (>R)
m_rpush eax
m_push ebx ; DUP
call prim_CFETCH
call prim_OVER
call prim_ADD
m_push 1 ; CLITERAL (0001)
call prim_ADD
call prim_SWAP
L0000040A: call prim_OVER
call prim_OVER
call prim_EQ
m_pop eax
cmp eax, 0
je L0000041C ; JMPZ
m_pop eax ; DROP
m_pop eax ; DROP
m_rpop eax ; RTOD (R>)
m_push eax
m_pop eax ; DROP
ret
jmp L0000042A ; JMP
L0000041C: m_push ebx ; DUP
call prim_CFETCH
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_push 1 ; CLITERAL (0001)
call prim_ADD
m_pop eax ; DTOR (>R)
m_rpush eax
m_push 1 ; CLITERAL (0001)
call prim_ADD
L0000042A: jmp L0000040A ; JMP
ret
L0000F92E: dd L0000F944 ; DICTP: (F92E), NEXT
db 0 ; FLAGS
db 11, 'string-popc', 0 ; WORD: string-popc
L00000430:
m_push ebx ; DUP
call prim_CFETCH
m_pop eax
cmp eax, 0
je L0000044F ; JMPZ
m_push ebx ; DUP
call prim_CFETCH
m_push 1 ; CLITERAL (0001)
call prim_SUB
call prim_OVER
call prim_CSTORE
m_push ebx ; DUP
call prim_CFETCH
call prim_ADD
m_push 1 ; CLITERAL (0001)
call prim_ADD
call prim_CFETCH
jmp L00000452 ; JMP
L0000044F: m_pop eax ; DROP
m_push 0 ; CLITERAL (0000)
L00000452: ret
L0000F91C: dd L0000F92E ; DICTP: (F91C), NEXT
db 0 ; FLAGS
db 7, 'BETWEEN', 0 ; WORD: BETWEEN
L00000453:
m_push 2 ; CLITERAL (0002)
call prim_PICK
call prim_LT
m_pop eax
cmp eax, 0
je L00000466 ; JMPZ
m_pop eax ; DROP
m_pop eax ; DROP
m_push 0 ; CLITERAL (0000)
ret
L00000466: call prim_LT
m_push 0 ; CLITERAL (0000)
call prim_EQ
ret
L0000F904: dd L0000F91C ; DICTP: (F904), NEXT
db 0 ; FLAGS
db 13, 'stdin-getline', 0 ; WORD: stdin-getline
L0000046B:
call L000003C4 ; CALL 03C4, PAD
m_push 0 ; CLITERAL (0000)
call prim_OVER
call prim_STORE
m_pop eax ; DTOR (>R)
m_rpush eax
L0000047A: call prim_GETCH
m_push ebx ; DUP
m_push 3 ; CLITERAL (0003)
call prim_EQ
m_pop eax
cmp eax, 0
je L0000049A ; JMPZ
call prim_SLITERAL ; (8), '<CTRL>-C', (0)
call L0000037A ; CALL 037A, COUNT
call L00000386 ; CALL 0386, TYPE
call prim_BYE
L0000049A: m_push ebx ; DUP
m_push 13 ; CLITERAL (000D)
call prim_EQ
m_pop eax
cmp eax, 0
je L000004A9 ; JMPZ
m_pop eax ; DROP
m_rpop eax ; RTOD (R>)
m_push eax
m_push 32 ; CLITERAL (0020)
call prim_EMIT
ret
L000004A9: m_push ebx ; DUP
m_push 9 ; CLITERAL (0009)
call prim_EQ
m_pop eax
cmp eax, 0
je L000004B5 ; JMPZ
m_pop eax ; DROP
m_push 32 ; CLITERAL (0020)
L000004B5: m_push ebx ; DUP
m_push 8 ; CLITERAL (0008)
call prim_EQ
m_pop eax
cmp eax, 0
je L000004D2 ; JMPZ
m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call L00000430 ; CALL 0430, string-popc
m_pop eax ; DROP
m_push ebx ; DUP
call prim_EMIT
m_push 32 ; CLITERAL (0020)
call prim_EMIT
call prim_EMIT
jmp L000004F1 ; JMP
L000004D2: m_push ebx ; DUP
m_push 32 ; CLITERAL (0020)
m_push 127 ; CLITERAL (007F)
call L00000453 ; CALL 0453, BETWEEN
m_pop eax
cmp eax, 0
je L000004F0 ; JMPZ
m_push ebx ; DUP
call prim_EMIT
m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call L000003E6 ; CALL 03E6, string-catc
jmp L000004F1 ; JMP
L000004F0: m_pop eax ; DROP
L000004F1: jmp L0000047A ; JMP
ret
L0000F8ED: dd L0000F904 ; DICTP: (F8ED), NEXT
db 0 ; FLAGS
db 12, 'file-getLine', 0 ; WORD: file-getLine
L000004F7:
call L000003C4 ; CALL 03C4, PAD
m_push 200 ; CLITERAL (00C8)
call L000003B4 ; CALL 03B4, INPUT-FP
mov ebx, [ebx] ; FETCH
call prim_FREADLINE
m_push 0 ; CLITERAL (0000)
call prim_EQ
m_pop eax
cmp eax, 0
je L00000526 ; JMPZ
call L000003B4 ; CALL 03B4, INPUT-FP
mov ebx, [ebx] ; FETCH
call prim_FCLOSE
m_push 0 ; CLITERAL (0000)
call L000003B4 ; CALL 03B4, INPUT-FP
call prim_STORE
jmp L00000538 ; JMP
L00000526: m_push 46 ; CLITERAL (002E)
call prim_EMIT
call L000003C4 ; CALL 03C4, PAD
call L0000037A ; CALL 037A, COUNT
call L00000386 ; CALL 0386, TYPE
L00000538: call L000003C4 ; CALL 03C4, PAD
ret
L0000F8DA: dd L0000F8ED ; DICTP: (F8DA), NEXT
db 0 ; FLAGS
db 8, 'get-line', 0 ; WORD: get-line
L0000053E:
call L000003B4 ; CALL 03B4, INPUT-FP
mov ebx, [ebx] ; FETCH
m_pop eax
cmp eax, 0
je L00000558 ; JMPZ
call L000004F7 ; CALL 04F7, file-getLine
jmp L0000055D ; JMP
L00000558: call L0000046B ; CALL 046B, stdin-getline
L0000055D: ret
L0000F8C8: dd L0000F8DA ; DICTP: (F8C8), NEXT
db 0 ; FLAGS
db 7, 'skip-ws', 0 ; WORD: skip-ws
L0000055E:
L00000563: m_push ebx ; DUP
call prim_CFETCH
m_push 1 ; CLITERAL (0001)
m_push 32 ; CLITERAL (0020)
call L00000453 ; CALL 0453, BETWEEN
m_pop eax
cmp eax, 0
je L0000057B ; JMPZ
m_push 1 ; CLITERAL (0001)
call prim_ADD
jmp L0000057C ; JMP
L0000057B: ret
L0000057C: jmp L00000563 ; JMP
ret
L0000F8B5: dd L0000F8C8 ; DICTP: (F8B5), NEXT
db 0 ; FLAGS
db 8, 'get-word', 0 ; WORD: get-word
L00000582:
call L00000056 ; CALL 0056, (HERE)
mov ebx, [ebx] ; FETCH
m_push 256 ; LITERAL
call prim_ADD
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
m_push 0 ; CLITERAL (0000)
call prim_SWAP
call prim_STORE
L00000599: m_push ebx ; DUP
call prim_CFETCH
m_push ebx ; DUP
m_push 33 ; CLITERAL (0021)
call prim_LT
m_pop eax
cmp eax, 0
je L000005B5 ; JMPZ
m_pop eax ; DROP
m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call L000003D6 ; CALL 03D6, string-nullterm
m_rpop eax ; RTOD (R>)
m_push eax
call prim_SWAP
ret
jmp L000005C0 ; JMP
L000005B5: m_rpop eax ; RTOD (R>)
m_push eax
m_push ebx ; DUP
m_pop eax ; DTOR (>R)
m_rpush eax
call L000003E6 ; CALL 03E6, string-catc
m_push 1 ; CLITERAL (0001)
call prim_ADD
L000005C0: jmp L00000599 ; JMP
ret
L0000F8A1: dd L0000F8B5 ; DICTP: (F8A1), NEXT
db 2 ; FLAGS
db 9, 'DICT>NEXT', 0 ; WORD: DICT>NEXT
L000005C6:
ret
L0000F88F: dd L0000F8A1 ; DICTP: (F88F), NEXT
db 2 ; FLAGS
db 7, 'DICT>XT', 0 ; WORD: DICT>XT
L000005CC:
call L00000040 ; CALL 0040, CELL