working till execution
lb works with mem
lb works with mem and reg
sb works with registers
submitted version