Hyundai GMS90X54C, GMS90X51C, GMS90X52C user manual Cpu, Special Function Register PSW

Page 14

HYUNDAI MicroElectronics

GMS90X5XC Series

CPU

The GMS90X5XC series is efficient both as a controller and as an arithmetic processor. It has extensive facili- ties for binary and BCD arithmetic and excels in its bit-handling capabilities. Efficient use of program memory results from an instruction set consisting of 44% one-byte, 41% two-byte, and 15% three-byte instructions. With a 12 MHz crystal, 58% of the instructions are executed in 1.0μs (40MHz: 300ns).

Special Function Register PSW

Bit No.

Addr. D0H

MSB

 

 

 

 

 

 

LSB

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

CY

AC

F0

RS1

RS0

OV

F1

P

 

 

 

 

 

 

 

 

PSW

Bit

 

Function

 

 

 

CY

 

Carry Flag

 

 

 

AC

 

Auxiliary Carry Flag (for BCD operations)

 

 

 

F0

 

General Purpose Flag

 

 

 

RS1

RS0

Register Bank select control bits

0

0

Bank 0 selected, data address 00H - 07H

0

1

Bank 1 selected, data address 08H - 0FH

1

0

Bank 2 selected, data address 10H - 17H

1

1

Bank 3 selected, data address 18H - 1FH

OV

 

Overflow Flag

 

 

 

F1

 

General Purpose Flag

 

 

 

P

 

Parity Flag

 

 

Set/cleared by hardware each instruction cycle to indicate an odd/even

 

 

number of "one" bits in the accumulator, i.e. even parity.

 

 

 

Reset value of PSW is 00H.

10

Jan. 2001 Ver 1.0

Image 14
Contents GMS90X51C GMS90X52C GMS90X54C Page Mask Block Diagram GMS90C51CGMS90C52C/54C GMS90L52C/54CLow voltage versions PIN Configuration Plcc Pin Configuration top viewPdip Pin Configuration top view EA / VPP ALE / ProgMqfp Pin Configuration top view Logic Symbol PIN Definitions and Functions XTAL2Reset Symbol FunctionProgram Store Enable Pin NumberNo connection Address Latch EnableCircuit ground potential Block Diagram of the GMS90X5XC series Functional DescriptionCPU Special Function Register PSWSpecial Function Registers FFH D8H C0HD0H E0HF0H Contents of SFRs, SFRs in Numeric Order Address RegisterE0H D0HGF1 GF0 PDE Idle C8H T2CON TF2 EXF2 Rclk Tclk EXEN2 TR2 CP/RL2 X2 Mode Clock Generation DiagramMode Swithcing Waveforms Tmod Timer / Counter 0Timer/Counter 0 and 1 Operating Modes Description Input ClockP1.1 Remarks Input Clock TimerTimer/Counter 2 Operating Modes T2EXBaudrate Description Serial Interface UsartUsart Operating Modes SM0 SM1Interrupt System Interrupt Request SourcesInterrupt Priority-Within-Level Interrupt Source Power Saving Modes Electrical Characteristics Absolute Maximum RatingsPower supply current DC Characteristics for GMS90C51C/52C/54CParameter Symbol Limit Values Unit Test Conditions Min Hyundai MicroElectronics DC Characteristics for GMS90L51C/52C/54C VCC= 3.3V + 0.3V, -0.6V VSS=0V TA= 0C to 70CExternal Program Memory Characteristics Explanation of the AC SymbolsAC Characteristics for GMS90X5XC series 12MHz version GMS90X5XC Series Advance Information 12MHz External Clock Drive AC Characteristics for GMS90X5XC series 16MHz version Advance Information 16MHz External Clock Drive AC Characteristics for GMS90X5XC series 24MHz version Advance Information 24MHz External Clock Drive AC Characteristics for GMS90X5XC series 33MHz version Advance Information 33MHz External Clock Drive AC Characteristics for GMS90X5XC series 40MHz version Advance Information 40MHz External Clock Drive External Program Memory Read Cycle External Data Memory Read Cycle AC Testing Input, Output Waveforms Oscillator Circuit Plastic Package P-LCC-44 44PLCCPlastic Package P-DIP-40 Plastic Package P-MPQF-44 GMS90X5XC Series GMS90X5XC-GC ROM Protection