eulex icon indicating copy to clipboard operation
eulex copied to clipboard

unused

Open dotmilk opened this issue 7 years ago • 1 comments

Unused is written : unused dp-base @ dp - ; Then I see dp-base in essence pushes the address of:

dictionary_start:

.long 0

onto the stack and then fetches it, i never see a value set at that location, unless I am missing something.

Shouldn't unused be written a bit more like:

: unused dp-limit dp - ; which would give us the upper limit of the dictionary - where we are now ?

dotmilk avatar Sep 25 '18 00:09 dotmilk

I guess you are right 🙂 I don't remember anything about this word and it is not really used in other words so it is quite likely that I didn't read the output value correctly.

You can try with some examples, use unused, allocate a few bytes in the dictionary and check the value again.

And feel free to submit a patch if you would like :-)

davazp avatar Sep 25 '18 06:09 davazp