Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

18 Bytes !!! Anyone can beat this? HEX16 for 8086 (Developers)

posted by mht(R) Homepage, Wroclaw, Poland, 13.04.2009, 16:04

You can still improve register usage. Use rotations on one register instead of shifts on two (4 rotations by 4 bits = no-op).
But anyway, what are you trying to show?
1. "Work-In-Progress version" certainly may contain some (possibly even unused) debug code and there is nothing wrong with it.
2. Optimizing such pieces of code is wasting time, it will be surely removed in a "production" version.
3. You can find source files where unclear tricks (like the old DAS one) are commented and explained, better cut-and-paste from there, instead of introducing additional noise.

 

Complete thread:

Back to the forum
Board view  Mix view
15112 Postings in 1359 Threads, 247 registered users, 17 users online (0 registered, 17 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum