v6m virtual machine

Dependents:  

Import programemu812

mbed LPC812 emulator pre-alpha version

Import programemu1114

mbed LPC1114 emulator pre-alpha version

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Fri Apr 01 11:12:29 2016 +0900
Parent:
4:1c7b72bcfc4d
Commit message:
remove assert code.

Changed in this revision

BaseV6M.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1c7b72bcfc4d -r 65d77b2e6bc7 BaseV6M.cpp
--- a/BaseV6M.cpp	Thu Aug 27 13:24:50 2015 +0900
+++ b/BaseV6M.cpp	Fri Apr 01 11:12:29 2016 +0900
@@ -1,4 +1,4 @@
-// BaseV6M.cpp 2015/8/27
+// BaseV6M.cpp 2016/3/28
 #pragma Otime
 
 #include "BaseV6M.h"
@@ -665,7 +665,6 @@
 
 void BaseV6M::c_sub1(uint32_t code) { // SUB Rd,Rn,#imm3 0x1e00-1fff
     d_imm3_Rn_Rd(code);
-    V6M_ASSERT(R[_IM] != 0);
     e_sub();
     V6M_INFO("I: SUB %s,%s,#0x%02x", GetRegName(Rd), GetRegName(Rn), R[_IM]);
 }