diff --git a/py/base/AssemblyHelper.py b/py/base/AssemblyHelper.py index af3df36f..a8e03f22 100644 --- a/py/base/AssemblyHelper.py +++ b/py/base/AssemblyHelper.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +import Log + from abc import ABC from abc import abstractmethod @@ -334,7 +336,7 @@ def getBranchOffset(self, aTargetAddr, aImmFieldWidth): shift=self.getBranchShift(), ) if not valid: - self.error( + Log.error( "Unable to generate branch instruction from 0x%x to 0x%x" % (cur_pc, aTargetAddr) )