Debugged some more, the following features are now working correctly
1. SRAM
2. Compare related flags like cmp, cmpswp
3. Dynamic loop control
Next step - edit distance