KR970076274A - 마이크로컴퓨터 - Google Patents

마이크로컴퓨터 Download PDF

Info

Publication number
KR970076274A
KR970076274A KR1019970000104A KR19970000104A KR970076274A KR 970076274 A KR970076274 A KR 970076274A KR 1019970000104 A KR1019970000104 A KR 1019970000104A KR 19970000104 A KR19970000104 A KR 19970000104A KR 970076274 A KR970076274 A KR 970076274A
Authority
KR
South Korea
Prior art keywords
rom
address information
cpu
address
signal indicating
Prior art date
Application number
KR1019970000104A
Other languages
English (en)
Other versions
KR100252432B1 (ko
Inventor
마사오 미오
Original Assignee
키타오카 타카시
미쓰비시 덴키 가부시끼가이샤
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 키타오카 타카시, 미쓰비시 덴키 가부시끼가이샤 filed Critical 키타오카 타카시
Publication of KR970076274A publication Critical patent/KR970076274A/ko
Application granted granted Critical
Publication of KR100252432B1 publication Critical patent/KR100252432B1/ko

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/268Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/322Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address
    • G06F9/328Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address for runtime instruction patching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)
  • Advance Control (AREA)
  • Microcomputers (AREA)
  • Stored Programmes (AREA)

Abstract

명령을 프리패치하는 큐 버퍼가 제공되어 있으면, ROM내의 프로그램에서 발생된 버그를 제거하는 메카니즘이 올바르게 수행하지 못하는 문제점이 있다.
따라서, 본 발명의 마이크로컴퓨터에 따른 비교 회로(46)는 레지스터(44)에 저장되어 있는 어드레스 정보와 어드레스(48)상의 어드레스 데이타를 비교한다. 래치 회로(14)는 비교 회로(46)로부터의 정합 신호에 의해 세트 상태로 되고, 분리 발생 신호(68) 또는 JMP 명령 코드 종료 신호(70)에 의해 리셋 상태로 된다. 리셋 상태에 의해, 데이타는 JMP 명령 코드 ROM(120)로 부터 데이타 버스(50)로 출력되지 못하게 된다.

Description

마이크로컴퓨터
본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음
제1도는 본 발명의 제1실시예에 의한 제공된 마이크로컴퓨터의 구성을 도시한 도면.

Claims (3)

  1. 제1ROM에 저장된 프로그램의 각각의 명령을 CPU의 실행 이전에 프리패치(prefetching)하고, 이와 동시에 상기 CPU가 분기 명령을 실행했음을 나타내는 분기 발생 신호에 의해 클리어(clear)되는 큐 버퍼(a queue buffer)와, 상기 제1ROM의 어드레스 공간 이외의 어드레스 공간에 분기하는 명령을 저장하는 제2ROM과, 어드레스 정보를 저장하는 어드레스 정보 저장부가 구비된 마이크로컴퓨터에 있어서, 상기 어드레스 정보 저장부에 저장되어 있는 어드레스 정보와 상기 큐버퍼의 프로그램 카운터(a program counter)의 값을 비교해서, 그 결과가 일치되는 경우 상기 제2ROM으로부터 데이타 출력을 허용하고 이와 동시에 상기 제1ROM으로부터의 데이타 출력을 차단하고, 상기 분기 발생 신호 또는 상기 제2ROM이 명령을 출력했음을 나타내는 명령 코드 종료 신호를 입력하여 상기 제1ROM으로부터의 데이타 출력을 허용하고 이와 동시에 상기 제2ROM으로부터의 데이타 출력을 차단하는 ROM 출력 스위칭부(a ROM-output switching unit)를 포함하는 것을 특징으로 하는 마이크로컴퓨터.
  2. 제1항에 있어서, 상기 ROM 출력 스위칭부는, 상기 어드레스 정보 저장부에 저장되어 있는 어드레스 정보와 어드레스 버스상의 어드레스 데이타를 비교하는 비교 회로와, 상기 비교 회로로부터의 정합 신호에 의해 세트 상태로 되고, 분기 발생 신호 또는 명령 코드 종료 신호에 의해 리셋 상태로 되는 래치 회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.
  3. 제1ROM에 저장된 프로그램의 각각의 명령을 CPU의 실행 이전에 프리 패치하고 이와 동시에 상기 CPU가 분기 명령을 실행했음을 나타내는 분기 발생 신호에 의해 클리어되는 큐 버퍼와, 상기 제1ROM 어드레스 공간 이외의 어드레스 공간에 분기하는 명령을 저장하는 제2ROM과, 어드레스 정보를 저장하는 어드레스 정보 저장부와, 상기 어드레스 정보 저장부에 저장되어 있는 어드레스 정보와 CPU의 프로그램 카운터의 값을 비교하는 비교 회로가 구비된 마이크로컴퓨터에 있어서, 상기 비교 회로가 상기 어드레스 정보와 상기 CPU의 프로그램 카운터의 값이 정합했음을 나타내는 정합 신호를 출력하면 세트 상태로 되고, 제2ROM이 명령을 출력했음을 나타내는 명령 코드 종료 신호에 의해 리셋 상태로 되는 래치 회로와, 상기 래치 회로가 셋트 상태인 경우 상기 큐 버퍼로부터의 명령이 상기 CPU에 입력되는 것을 차단하고 이와 동시에 상기 제2ROM으로부터의 명령이 상기 CPU에 입력되도록 하는 스위칭 회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.
    ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.
KR1019970000104A 1996-05-31 1997-01-06 마이크로컴퓨터 KR100252432B1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP96-139138 1996-05-31
JP8139138A JPH09319569A (ja) 1996-05-31 1996-05-31 マイクロコンピュータ

Publications (2)

Publication Number Publication Date
KR970076274A true KR970076274A (ko) 1997-12-12
KR100252432B1 KR100252432B1 (ko) 2000-04-15

Family

ID=15238437

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970000104A KR100252432B1 (ko) 1996-05-31 1997-01-06 마이크로컴퓨터

Country Status (4)

Country Link
US (1) US5799144A (ko)
JP (1) JPH09319569A (ko)
KR (1) KR100252432B1 (ko)
DE (1) DE19652290C2 (ko)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6049672A (en) * 1996-03-08 2000-04-11 Texas Instruments Incorporated Microprocessor with circuits, systems, and methods for operating with patch micro-operation codes and patch microinstruction codes stored in multi-purpose memory structure
US6141740A (en) * 1997-03-03 2000-10-31 Advanced Micro Devices, Inc. Apparatus and method for microcode patching for generating a next address
US5983337A (en) * 1997-06-12 1999-11-09 Advanced Micro Devices, Inc. Apparatus and method for patching an instruction by providing a substitute instruction or instructions from an external memory responsive to detecting an opcode of the instruction
US6158018A (en) * 1997-11-25 2000-12-05 Philips Semiconductor, Inc. Integrated circuit including patching circuitry to bypass portions of an internally flawed read only memory and a method therefore
US6412081B1 (en) 1999-01-15 2002-06-25 Conexant Systems, Inc. System and method for providing a trap and patch function to low power, cost conscious, and space constrained applications
JP2000347862A (ja) * 1999-06-08 2000-12-15 Nec Corp 命令入換え回路
US6438664B1 (en) 1999-10-27 2002-08-20 Advanced Micro Devices, Inc. Microcode patch device and method for patching microcode using match registers and patch routines
CA2419795A1 (fr) * 2000-08-17 2002-02-21 Xemics Sa Module de controle comprenant une memoire morte a consommation electrique reduite
KR100410557B1 (ko) * 2001-11-19 2003-12-18 주식회사 하이닉스반도체 프로그램 수정 가능한 마이크로컨트롤러 및 구동방법
US7197358B2 (en) * 2002-06-18 2007-03-27 Cambridge Heart, Inc. Identifying infants at risk for sudden infant death syndrome
US7464248B2 (en) 2005-04-25 2008-12-09 Mediatek Incorporation Microprocessor systems and bus address translation methods
US8156486B2 (en) * 2008-10-29 2012-04-10 Mediatek Inc. Patching devices and methods thereof for patching firmware functions
US8438558B1 (en) 2009-03-27 2013-05-07 Google Inc. System and method of updating programs and data

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4542453A (en) * 1982-02-19 1985-09-17 Texas Instruments Incorporated Program patching in microcomputer
US4769767A (en) * 1984-01-03 1988-09-06 Ncr Corporation Memory patching system
US4751703A (en) * 1986-09-16 1988-06-14 International Business Machines Corp. Method for storing the control code of a processor allowing effective code modification and addressing circuit therefor
JPS6393038A (ja) * 1986-10-07 1988-04-23 Mitsubishi Electric Corp 計算機
JPS63156231A (ja) * 1986-12-19 1988-06-29 Fujitsu Ltd リ−ドオンリ−メモリ内命令の変更方法
JPS63304563A (ja) * 1987-06-03 1988-12-12 Hitachi Ltd イオン注入装置
JPH0769812B2 (ja) * 1987-12-29 1995-07-31 富士通株式会社 データ処理装置
JPH01232447A (ja) * 1988-03-11 1989-09-18 Mitsubishi Electric Corp シングル・チップ・マイクロコンピュータ
US5072364A (en) * 1989-05-24 1991-12-10 Tandem Computers Incorporated Method and apparatus for recovering from an incorrect branch prediction in a processor that executes a family of instructions in parallel
JPH05143476A (ja) * 1991-11-20 1993-06-11 Fujitsu Ltd 命令キユーの診断方式
US5623665A (en) * 1992-01-13 1997-04-22 Sony Corporation Electronic apparatus for patching a read-only memory
US5251174A (en) * 1992-06-12 1993-10-05 Acer Incorporated Memory system
JPH06318261A (ja) * 1992-09-18 1994-11-15 Sony Corp 電子装置
DE69421379T2 (de) * 1994-03-31 2000-05-11 St Microelectronics Inc Wiederverwendbarer Mehrwegsatz assoziativer Cache-Speicher
US5652858A (en) * 1994-06-06 1997-07-29 Hitachi, Ltd. Method for prefetching pointer-type data structure and information processing apparatus therefor
US5664135A (en) * 1994-09-28 1997-09-02 Hewlett-Packard Company Apparatus and method for reducing delays due to branches

Also Published As

Publication number Publication date
DE19652290C2 (de) 2000-08-17
DE19652290A1 (de) 1997-12-04
JPH09319569A (ja) 1997-12-12
KR100252432B1 (ko) 2000-04-15
US5799144A (en) 1998-08-25

Similar Documents

Publication Publication Date Title
KR970076274A (ko) 마이크로컴퓨터
KR870000643A (ko) 쌍방향성 분기 예상 및 최적화방법 및 장치
WO1999026132A3 (en) Processor configured to generate lookahead results from collapsed moves, compares and simple arithmetic instructions
KR950033803A (ko) 다중 비트 시프트 장치, 이것을 이용한 데이타 프로세서, 및 다중 비트 시프트 방법
KR920001321A (ko) 고속 프로세서에서의 브랜치 처리 방법 및 장치
US5502827A (en) Pipelined data processor for floating point and integer operation with exception handling
KR920004964A (ko) 2개의 명령을 동시에 실행할 수 있는 데이타 프로세서
KR930016880A (ko) 전자장치 및 그것의 고정정보 수정방법
KR960038602A (ko) 파이프라인 처리기
KR100206887B1 (ko) 프로그램 오동작 방지를 위한 씨피유
KR930008615A (ko) 분기 명령 버퍼를 갖는 데이타 프로세서
KR960706124A (ko) 워드 정렬 브랜치 타겟을 가지는 처리 시스템(Processing system with word aligned branch target)
EP1109095B1 (en) Instruction prefetch and branch prediction circuit
KR950033761A (ko) Rom 프로그램 변경기능을 가진 마이크로컴퓨터
KR950009454A (ko) 다중 실행 장치 처리 시스템 상태의 선택적 저장방법 및 시스템
US5850551A (en) Compiler and processor for processing loops at high speed
KR900015003A (ko) 데이타 프로세서
KR970012153A (ko) 데이타 프로세서 및 중단점 작동 실행 방법
KR900016865A (ko) 파이프라인방식의 분기명령제어장치
US5524222A (en) Microsequencer allowing a sequence of conditional jumps without requiring the insertion of NOP or other instructions
KR910008565A (ko) 분기 제어 회로
Song Computer Security Optional Notes
KR940007701A (ko) 전자 장치
JP2762829B2 (ja) 電子計算機
KR930001061A (ko) 마이크로 컴퓨터

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080107

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee