參數(shù)資料
型號: M68HC000
廠商: Motorola, Inc.
英文描述: 16-/32-Bit Microprocessor(16/32位微處理器)
中文描述: 16/32位微處理器(16/32位微處理器)
文件頁數(shù): 182/184頁
文件大小: 1006K
代理商: M68HC000
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁當(dāng)前第182頁第183頁第184頁
MOTOROLA
M68000 8-/16-/32-BIT MICROPROCESSORS USER’S MANUAL
A-1
APPENDIX A
MC68010 LOOP MODE OPERATION
In the loop mode of the MC68010, a single instruction is executed repeatedly under
control of the test condition, decrement, and branch (DBcc) instruction without any
instruction fetch bus cycles. The execution of a single-instruction loop without fetching an
instruction provides a highly efficient means of repeating an instruction because the only
bus cycles required are those that read and write the operands.
The DBcc instruction uses three operands: a loop counter, a branch condition, and a
branch displacement. When this instruction is executed in the loop mode, the value in the
low-order word of the register specified as the loop counter is decremented by one and
compared to minus one. If the result after decrementing the value is equal to minus one,
the result is placed in the loop counter, and the next instruction in sequence is executed.
Otherwise, the condition code register is checked against the specified branch condition. If
the branch condition is true, the result is discarded, and the next instruction in sequence is
executed. When the count is not equal to minus one and the branch condition is false, the
branch displacement is added to the value in the program counter, and the instruction at
the resulting address is executed.
Figure A-1 shows the source code of a program fragment containing a loop that executes
in the loop mode in the MC68010. The program moves a block of data at address
SOURCE to a block starting at address DEST. The number of words in the block is
labeled LENGTH. If any word in the block at address SOURCE contains zero, the move
operation stops, and the program performs whatever processing follows this program
fragment.
LOOP
LEA
LEA
MOVE.W
MOVE.W
DBEQ
SOURCE, A0
DEST, A1
#LENGTH, D0
(A0);pl, (A1)+
D0, LOOP
Load A Pointer To Source Data
Load A Pointer To Destination
Load The Counter Register
Loop To Move The Block Of Data
Stop If Data Word Is Zero
Figure A-1. DBcc Loop Mode Program Example
The first load effective address (LEA) instruction loads the address labeled SOURCE into
address register A0. The second instruction, also an LEA instruction, loads the address
labeled DEST into address register A1. Next, a move data from source to destination
(MOVE) instruction moves the number of words into data register D0, the loop counter.
The last two instructions, a MOVE and a test equal, decrement, and branch (DBEQ), form
the loop that moves the block of data. The bus activity required to execute these
instructions consists of the following cycles:
相關(guān)PDF資料
PDF描述
M68HC001 16-/32-Bit Microprocessor(16/32位微處理器)
M68EC000 16/32 Bit Microprocesso(16/32位微處理器)
M68HC16 16-Bit Microcontroller(16位微控制器)
MAC08BT1 TRIAC 0.8 AMPERE RMS 200 thru 600 Volts
MAC08MT1 SENSITIVE GATE TRIACS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M68HC05 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
M68HC05_13 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC05 Microcontrollers
M68HC05EVS 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Motorola M68HC05 Family Evaluation System
M68HC05M68H 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
M68HC08 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers