eulex
eulex copied to clipboard
unused
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 ?
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 :-)