Added Q-format support 
Added Q-format support 

It's specifically hard-coded to only work for 16-bit registers, but theoretically it could calculate for every register size.
Rhig/Assembly---VHDL-Perl-parser