View Single Post
Old Dec 7th, 2005, 9:10 AM   #3
SittingDuck
Programmer
 
SittingDuck's Avatar
 
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 4 SittingDuck is on a distinguished road
Thanks for the help. (Actually, I am writing a compiler.) No, Delphi 3 doesn't support bit fields. I could fill a record structure and manipulate that before calling a procedure to pack it into the actual bitcode.
The table is a good idea. Another way of doing it is having a seperate function for each opcode, and for them to be dealt with seperately. (I think I'll use a table.) I must make sure here that the code is not too rigid.

Last edited by SittingDuck; Dec 7th, 2005 at 9:25 AM.
SittingDuck is offline   Reply With Quote