implement RMB and SMB instructions.