extend to 13 general regs
Merge branch 'platform' of https://github.com/micky686/Esen2012 into platform