After writing few c code for a86, I found I have to implement
so many primitive functions that deviate from my a86 journey.
I decide to write it in PHP.
PHP's array is a very flexible data structure, and I like it.
And there are many extensions built in that save a lot of my life.
operand.php
So far, it can parse general registers.
Life is better, since turing to PHP.
The operand.php can parse segment registers,
immediate, memory operands beside general
registers now.