Home | Contact | Search

Robert E. Weatherford’s Résumé

Robert's Project History

C Code Optimizer

1985 — Megasys (A Robert E. Weatherford D/B/A)

The code optimizer was designed to optimize for the undocumented Intel 8085 instructions, but could optimize straight 8080 code as well. The optimizer could be configured to execute until no more optimizations were made. The optimizer ran between the compiler that produced assembler source code output and the assembler. The optimizer first assembled the assembler source code, manipulated the resulting code numerically, then inverse assembled the results back into assembly source for output. This allowed the optimization structures to be defined and manipulated numerically instead using strings resulting in faster execution speed. The optimizer used several techniques including instruction sequence substitution, register reallocation, and branch optimization. Written in Aztec C for CP/M.


Copyright © 2002-2011 Robert E. Weatherford, Johns Creek, GA (A suburb North of Atlanta). All Rights Reserved.
Last modified: April 25, 2011.