CN1570876A - Method and device for implementing single-chip microcomputer simulation using instruction replacement - Google Patents
Method and device for implementing single-chip microcomputer simulation using instruction replacement Download PDFInfo
- Publication number
- CN1570876A CN1570876A CN 200410023183 CN200410023183A CN1570876A CN 1570876 A CN1570876 A CN 1570876A CN 200410023183 CN200410023183 CN 200410023183 CN 200410023183 A CN200410023183 A CN 200410023183A CN 1570876 A CN1570876 A CN 1570876A
- Authority
- CN
- China
- Prior art keywords
- port
- instruction
- emulation
- circuit
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 18
- 238000000034 method Methods 0.000 title claims abstract description 10
- 238000012544 monitoring process Methods 0.000 claims abstract description 14
- 230000001360 synchronised effect Effects 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims description 8
- 230000008676 import Effects 0.000 abstract 2
- 238000007781 pre-processing Methods 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 2
Images
Landscapes
- Executing Machine-Instructions (AREA)
Abstract
Description
JBC EA, REL2<!--SIPO<DP n=" 5 "〉--〉<dp n=" d5 "/USER2:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, will remake port PX assignment simultaneously is VALUE; Carry out MOVC A, during the @A+PC instruction, instruction is replaced and port remakes circuit according to the address at this instruction place and the address of being tabled look-up, can calculate the value of A, MOV A down together), #VALUE; Recover the value SJMP USER2-1 of A; Return user program REL2:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, will remake port PX assignment simultaneously is VALUE MOV A, #VALUE; Recover the value SETB EA SJMP USER2-1 of A; Return user program
JBC EA, REL3 USER3:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A of A, DIRECT MOVC A , @A+PC; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SJMP USER3 of A; Return user program REL3:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A of A, DIRECT MOVC A , @A+PC; Obtain the value (being made as VALUE2) of A, will remake simultaneously end<!--SIPO<DP n=" 6 "〉--〉<dp n=" d6 "/a mouthful PX assignment is VALUE2 MOV A, #VALUE1; Recover the value SETB EA SJMP USER3 of A; Return user program
JBC EA, REL4 USER4:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A , @R0 MOVC A , @A+PC of A; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SJMP USER4-1 of A; Return user program REL4:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A , @R0 MOVC A , @A+PC of A; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SETB EA SJMP USER4-1 of A; Return user program
JBC EA, REL5 USER5:MOVC A , @A+PC; Obtain the value (being made as VALUE1) of A<!--SIPO<DP n=" 7 "〉--〉<dp n=" d7 "/MOV A , @R1 MOVC A , @A+PC; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SJMP USER5-1 of A; Return user program REL5:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A , @R1 MOVC A , @A+PC of A; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SETB EA SJMP USER5-1 of A; Return user program
JBC EA, REL6 USER60:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A of A, Ri MOVC A , @A+PC; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SJMP USER60-1 of A; Return user program REL6:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A of A, Ri MOVC A , @A+PC; Obtain the value (being made as VALUE2) of A, will remake port PX assignment simultaneously is VALUE2 MOV A, #VALUE1; Recover the value SETB EA SJMP USER60-1 of A; Return user program
JBC EA, REL7 USER7:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, remake port PX and A and make logical and, and assignment is to remaking port PX MOV A, #VALUE; Recover the value SJMP USER7-1 of A; Return user program REL7:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, remake port<!--SIPO<DP n=" 11 "〉--〉<dp n=" d11 "/PX and A make logical and, and assignment is given and remake port PX MOV A, #VALUE; Recover the value SETB EA SJMP USER7-1 of A; Return user program
JBC EA, REL8 USER8:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, remake port PX and A and make logical OR, and assignment is to remaking port PX MOV A, #VALUE; Recover the value SJMP USER8-1 of A; Return user program REL8:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, remake port PX and A and make logical OR, and assignment is to remaking port PX MOV A, #VALUE; Recover the value SETB EA SJMP USER8-1 of A; Return user program
JBC EA, REL9<!--SIPO<DP n=" 12 "〉--〉<dp n=" d12 "/USER9:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, remake port PX and VALUE and make the logic XOR, and assignment is to remaking port PX MOV A, #VALUE; Recover the value SJMP USER9-1 of A; Return user program REL9:MOVC A , @A+PC; Obtain the value (being made as VALUE) of A, remake port PX and VALUE and make the logic XOR, and assignment is to remaking port PX MOV A, #VALUE; Recover the value SETB EA SJMP USER9-1 of A; Return user program
JBC EA, REL10 USER10:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A of A, #VALUE2; Obtain the value (being made as VALUE2) that remakes port PX, and the VALUE1 assignment given remake port PX SJMP USER10-1; Return user program REL10:MOVC A , @A+PC; Obtain value (being made as VALUE1) the MOV A of A, #VALUE2; Obtain the value (being made as VALUE2) that remakes port PX,<!--SIPO<DP n=" 13 "〉--〉<dp n=" d13 "/and the VALUE1 assignment given remake port PX SETB EA SJMP USER10-1; Return user program
JBC EA, REL11 USER11:MOVC A , @A+PC; Obtain the value (being made as VALUE1) of A, obtain value (being made as VALUE2) the MOV A that remakes port PX, #VALUE2 PUSH ACC MOV A, #VALUE1; Recover the value SJMP USER11-1 of A; Return user program REL11:MOVC A , @A+PC; Obtain the value (being made as VALUE1) of A, obtain value (being made as VALUE2) the MOV A that remakes port PX, #VALUE2; Return user program PUSH ACC MOV A, #VALUE1; The value SETB EA of recovery A<!--SIPO<DP n=" 14 "〉--〉<dp n=" d14 "/SJMP USER11-1; Return user program
JBC EA, REL12 USER12:MOVC A , @A+PC; Obtain value (being made as VALUE1) the POP ACC MOVC A , @A+PC of A; Obtain the value of A, and assignment is to remaking port PX MOV A, #VALUE1; Recover the value SJMP USER12-1 of A; Return user program REL12:MOVC A , @A+PC; Obtain value (being made as VALUE1) the POP ACC MOVC A , @A+PC of A; Obtain the value of A, and assignment is to remaking port PX MOV A, #VALUE1; Recover the value SETB EA SJMP USER12-1 of A; Return user program
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100231835A CN1293475C (en) | 2004-05-12 | 2004-05-12 | Method and device for implementing single-chip microcomputer simulation using instruction replacement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100231835A CN1293475C (en) | 2004-05-12 | 2004-05-12 | Method and device for implementing single-chip microcomputer simulation using instruction replacement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1570876A true CN1570876A (en) | 2005-01-26 |
CN1293475C CN1293475C (en) | 2007-01-03 |
Family
ID=34480274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100231835A Expired - Fee Related CN1293475C (en) | 2004-05-12 | 2004-05-12 | Method and device for implementing single-chip microcomputer simulation using instruction replacement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1293475C (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100369010C (en) * | 2005-04-01 | 2008-02-13 | 北京同方微电子有限公司 | Hardware breakpoint circuit for intelligent card simulative debugging system |
CN101551788A (en) * | 2009-05-19 | 2009-10-07 | 威盛电子股份有限公司 | Computer system, data interchange set and data interchange process |
CN103488566A (en) * | 2013-09-24 | 2014-01-01 | 上海无线电设备研究所 | Method for rapidly achieving solidification falling welding of satellite-borne software program at low risk |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU6491400A (en) * | 1999-10-22 | 2001-05-08 | Mentor Graphics Corporation | An emulation system having a efficient emulation signal routing architecture |
CN2560040Y (en) * | 2002-08-01 | 2003-07-09 | 安徽省菲特科技股份有限公司 | SCSI slave controller |
-
2004
- 2004-05-12 CN CNB2004100231835A patent/CN1293475C/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100369010C (en) * | 2005-04-01 | 2008-02-13 | 北京同方微电子有限公司 | Hardware breakpoint circuit for intelligent card simulative debugging system |
CN101551788A (en) * | 2009-05-19 | 2009-10-07 | 威盛电子股份有限公司 | Computer system, data interchange set and data interchange process |
CN101551788B (en) * | 2009-05-19 | 2013-06-26 | 威盛电子股份有限公司 | Computer system, data interchange set and data interchange process |
CN103488566A (en) * | 2013-09-24 | 2014-01-01 | 上海无线电设备研究所 | Method for rapidly achieving solidification falling welding of satellite-borne software program at low risk |
Also Published As
Publication number | Publication date |
---|---|
CN1293475C (en) | 2007-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1292360C (en) | Device and method for implementing automatically reading and writing internal integrated circuit equipment | |
CN100346285C (en) | Processor chip, storage control system and method | |
CN1521625A (en) | Fault-tolerant computer system, re-synchronization method thereof and re-synchronization program thereof | |
CN101030186A (en) | Interface circuit, system device using the interface circuit, and data interface method | |
CN1725177A (en) | Built-in equipment integrated development system and using method thereof | |
CN1121014C (en) | Eight-bit microcontroller having a RISC architecture | |
CN1737779A (en) | Method and system for expanding peripherals | |
CN1480840A (en) | Information processor, information processing method, computer readble memory medium | |
CN1551592A (en) | Data transmission control device, electronic device and data transmission control method | |
CN1758213A (en) | Heterogeneous parallel multithread processor (HPMT) with shared contents | |
CN1804799A (en) | SCM online loading and updating method and system | |
CN1866221A (en) | Software interface testing method and apparatus | |
CN1641568A (en) | Firmware automatic configuration system and method for substrate management controller | |
CN1904853A (en) | Embedded software loading debugging method and system thereof | |
CN101038572A (en) | Data transfer device and data transfer system | |
CN1517868A (en) | Information processing device, method and program | |
CN1272704C (en) | Low-power acting controller and program optimization device | |
CN1570876A (en) | Method and device for implementing single-chip microcomputer simulation using instruction replacement | |
CN1896966A (en) | Computer testing method | |
CN1525323A (en) | Processor and compiler for creating program for the processor | |
CN1940860A (en) | Adjustment for multiple micro-controller system task | |
CN100337204C (en) | Online software updating method | |
CN1924761A (en) | Data processing apparatus, program, recording medium, and content playback apparatus | |
CN101030152A (en) | Operation controller and controlling method based on pseudo-clock mode | |
CN1300395A (en) | Processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: CHANGSHA JUYANG MICRO-ELECTRONICS CO., LTD. Free format text: FORMER OWNER: ZENG JUYANG Effective date: 20100701 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 410008 ROOM 304, BUILDING 4, CHANGZHENG GARDEN, SHUYUAN ROAD, CHANGSHA CITY, HUNAN PROVINCE TO: 410004 2-22-A, NANGUOJIAYUAN, 1 SECTION OF FURONG SOUTH ROAD, TIANXIN DISTRICT, CHANGSHA CITY, HUNAN PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20100701 Address after: 410004 Hunan province Changsha City Furong South Road South Jiayuan 2-22-A Patentee after: Changsha chrysanthemum Microelectronics Co., Ltd. Address before: 304, room 4, 410008 Long March garden, College Road, Hunan, Changsha Patentee before: Zeng Juyang |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070103 Termination date: 20160512 |
|
CF01 | Termination of patent right due to non-payment of annual fee |