NaN fix

Fixed the bug of putting NaN problems in the Memory under Assembly tab.