Colby-CPU-Sim / CPUSim

GNU General Public License v3.0
53 stars 19 forks source link

Add "any" option for field types #46

Open moirage opened 8 years ago

moirage commented 8 years ago

Add a third option “any” for fields in addition to “signed” and “unsigned” that allows any value that fits in the number of bits. This is handy for backwards compatibility since that’s the way old fields worked when they were just specified by their lengths.