Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Find method from the original:
- FIND
- ( xt: 5831, 5822 - 5902, Size: 80 )
- 0001: VOCAB
- 0003: @
- 0005: DUP
- 0007: (?branch) 5892 ( 0061: )
- 0011: 2DUP
- 0013: >NAME
- 0015: STRCMP
- 0017: 0=
- 0019: OVER
- 0021: (lit) 3
- 0025: -
- 0027: C@
- 0029: (lit) 2
- 0033: AND
- 0035: 0=
- 0037: AND
- 0039: (?branch) 5880 ( 0049: )
- 0043: TRUE
- 0045: (branch) 5888 ( 0057: )
- 0049: CELL
- 0051: -
- 0053: @
- 0055: FALSE
- 0057: (branch) 5894 ( 0063: )
- 0061: TRUE
- 0063: (?branch) 5836 ( 0005: )
- 0067: NIP
- 0069: EXIT
- New modified machine code version from the forum thread, unsure if works properly:
- FIND
- ( xt: 5806, 5797 - 5902, Size: 105 )
- 0000: e2 (226)
- 0001: 20 (32)
- 0002: ae (174)
- 0003: c5 (197)
- 0004: 10 (16)
- 0005: da (218)
- 0006: fa (250)
- 0007: da (218)
- 0008: ca (202)
- 0009: ca (202)
- 0010: ca (202)
- 0011: b5 (181)
- 0012: 00 (0)
- 0013: c9 (201)
- 0014: 02 (2)
- 0015: d0 (208)
- 0016: 06 (6)
- 0017: 7a (122)
- 0018: b4 (180)
- 0019: 01 (1)
- 0020: 5a (90)
- 0021: 80 (128)
- 0022: ef (239)
- 0023: ca (202)
- 0024: ca (202)
- 0025: b5 (181)
- 0026: 00 (0)
- 0027: d0 (208)
- 0028: fb (251)
- 0029: e8 (232)
- 0030: c2 (194)
- 0031: 20 (32)
- 0032: a3 (163)
- 0033: 02 (2)
- 0034: a8 (168)
- 0035: e2 (226)
- 0036: 20 (32)
- 0037: b5 (181)
- 0038: 00 (0)
- 0039: 19 (25)
- 0040: 00 (0)
- 0041: 00 (0)
- 0042: f0 (240)
- 0043: 1d (29)
- 0044: b5 (181)
- 0045: 00 (0)
- 0046: d9 (217)
- 0047: 00 (0)
- 0048: 00 (0)
- 0049: d0 (208)
- 0050: 04 (4)
- 0051: e8 (232)
- 0052: c8 (200)
- 0053: 80 (128)
- 0054: ee (238)
- 0055: fa (250)
- 0056: ca (202)
- 0057: ca (202)
- 0058: b4 (180)
- 0059: 00 (0)
- 0060: f0 (240)
- 0061: 03 (3)
- 0062: 5a (90)
- 0063: 80 (128)
- 0064: c5 (197)
- 0065: fa (250)
- 0066: a2 (162)
- 0067: 00 (0)
- 0068: 00 (0)
- 0069: da (218)
- 0070: c2 (194)
- 0071: 20 (32)
- 0072: 02 (2)
- 0073: fa (250)
- 0074: 7a (122)
- 0075: da (218)
- 0076: c2 (194)
- 0077: 20 (32)
- 0078: 02 (2)
- 0079: 00 (0)
- 0080: fe (254)
- 0081: 0a (10)
- 0082: 6b (107)
- 0083: 05 (5)
- 0084: 06 (6)
- 0085: 17 (23)
- 0086: ef (239)
- 0087: 0a (10)
- 0088: 7d (125)
- 0089: 05 (5)
- 0090: cc (204)
- 0091: 16 (22)
- 0092: 0b (11)
- 0093: 07 (7)
- 0094: 5c (92)
- 0095: 05 (5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement