Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ghusbands
· 4y ago · 0 comments
Also, if we're to be pedantic about the code across the article, if they used dec (directly on memory) rather than sub, in the self modifying code, they wouldn't need a load/sub/store sequence. The zero flag would still be appropriately modified.
Comments
[–]
FastEatSlow
4y ago
Thanks, I forgot about dec.