, >>>

ChipNews

2003: 
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
2002: 
1, 5, 6, 7, 8, 9
2001: 
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
2000: 
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
1999: 
1, 2, 3, 4, 5, 6, 7, 8, 9, 10

ChipNews

Новости строительства

827:

827 0688759652

:

- . , , " " " ", .

2963-2 (RUS) . :

2963-2

II ... 372:

!

.

Siemens C166

     16- Siemens C166 , . 161, 163, 164-CI, 165, 80166, C167 ( ). .
     () , : , . :


. 1

     166 , 8-, 16- 32- , (MUL, DIV), , Special Function Register (SFR). , . 16, 20 25 125,100 80 .
166 :

     CISC- , . , 8051 8 . . CISC- .


. 2

     RISC General Purpose Registers (GPR), , . GPR C166 16- , , . 8 8 , GPR . GPR, .

     , . Context Pointer (CP), R0. 16 4- . CP. .


. 3

     CP . GPR, . , CP . , .
     , / , CP. SP CP, CP . , CP, . POP CP . SP .
     RISC , , CP, , CP (. 4).
     , . . , . , MUL DIV , .

4-

     166 4- . C166 4 . , , . , . 100 20 .



        R3'   ; 
        R2'   ;
   R7   R1'   ; , R7 == R1'
CP'R6   RO'   ; , R6 == R0'
   R5         ;  
   R4         ;
   R3         ;
   R2         ;
   R1         ;
CP R0         ;

;==================================================================
MODULE 1
; GPR      
x_var         LIT        'R0'       ; 
y_var         LIT        'R1'       ; 
parm1         LIT        'R6'       ;  1
parm2         LIT        'R7'       ;  2
result        LIT        'R6'       ; 

;==================================================================
MODULE 2
; GPR     
a_var         LIT        'R2'       ; 
b_var         LIT        'R3'       ; 
input1        LIT        'R0'       ;  1
input2        LIT        'R1'       ;  2
ret1          LIT        'R0'       ;  R0

. 4

     (Branch Instruction). , . Execute Fetch. , , Decode , . ("delayed branch").


. 5

     , , . Decode . . , Jump, Cond. Jump, Call, Return,... .
     (Loop Control). , . , . (Jump Cache). . , - Decode. , .
     . Fetch Decode , . External Bus Controller, , .
     , Write Back , Fetch. , .
     5 10 . , Decode .

166

     . Benchmark-, , . , Siemens, , .


. 6

80C196 80C166
Move word direct LD x, y 4 MOV Rw, Rw 2 2
Move word indirect LD x, [y] 5 MOV Rw, [Rw] 2 3
Move word indexed LD x, z[y] 7 MOV Rw, [Rw+#d16] 4 3
Add words direct ADD x, y 4 ADD Rw, Rw 2 2
Add words indirect ADD x, [y] 5 ADD Rw, [Rw] 2 3
Add words indexed ADD x, x[y] 7 ADD Rw, [RW+#d16] 4 3
Multiply words direct MUL x, y 16 MUL Rw, Rw 10 6
Divide words direct DIV x, y 26 DIV Rw 20 6
16 bit uncond.jump LJMP #16 7 JMPA cc_UC, #d16 4 3
Shift Left 16 places SHL x, #16 22 SHL Rw, Rw 4 18
Software interrupt TRAP 16 TRAP #n 4 12
Return from subroutine RET 11 RET 2 9
Direct data stack PUSH x 6 PUSH Rw 2 4
85   55    

     CISC- 196 RISC- 166, .
     , CISC- , RISC-. PUSH POP CISC- , 4. , RISC 50%.
     . RTOS CMX :

     , 20 : 80C166 1,0; 68332 2,26; 68HC16 3,10; 80196 3,38. , 80166 2 - , - .
     Siemens C166 . , Internet- , Siemens www.smi.siemens.com/mc.html. C166 Primer http://www.hitex.com/automation/docs/166primer/, 166, .
     & Siemens Hitex . , Siemens 166. ... Siemens C166 ( 2)

"& "
196240 -, 9/3
./ (812) 325-2792
E-mail: kpe@mail.wplus.net
Internet: http://www.kpe.sp.ru




Gjoxuvk ...

! - !

, .

̣ , , .

̣ , 45 1 ,

. > www.vk-likes.tk <

.

03/03/2018 15:08:26

...

8(812)200-42-35 .

29/06/2019 05:27:31



Siemens C166 :
 :
: :
<b> </b>
<i></i>
<a href="http://site.ru"> </a>