Claims (4)
프로세서 구별 방법에 있어서, (a) 현재 플래그 레지스터(1)의 데이터 값을 메모리(11)의 스택영역에 저장 하는 단계와, (b) AX 레지스터(2)에 서입된 제1데이타 값을 상기 메모리(11)의 스택영역에 서입한 다음, 그 서입된 제1데이터 값을 상기 플래그 레지스터(1)에 서입하는 단계와, (c) 상기 플래그 레지스터(1)에 서입된 제1 데이터 값을 상기 메모리(11)의 스택영역에 서입하고, 그 서입된 제1 데이터값을 상기 AX 레지스터(2)에 서입하는 단계와, (d) 임시 레지스터(3)에 제2 데이터 값을 서입하고, ALU(40에 의해 상기 AX 레지스터(2) 및 임시 레지스터(3)의 제1 및 제2 데이터 값을 논리연산한후 그 결과를 상기 AX 레지스터(2)에 전송하는 단계와, (e) 상기 임시 레지스터(3)에 서입된 제2 데이터 값과 상기 AX 레지스터(2)의 제1 데이터값이 동일한가를 판단하는 단계와, (f) 상기 단계(b)와 동일한 방법으로 상기 플래그 레지스터(1)에 제3 데이타 값을 서입하는 단계와, (h) 상기 임시 레지스터(3)에 제4 데이타 값을 서입하고, 상기 ALU(4)에 의해 상기 AX 레지스터(2) 및 임시레지스터(3)의 제3 및 4데이타 값을 논리연산한후 그결과를 상기 AX 레지스터(2)에 전송하는 단계와, (i) 상기 제3 및 제4데이타 값이 동일한가를 판단하는 단계와, (j) E 플래그 레지스터(3)의 현재 데이터 값을 상기메모리(11)의 스택영역에 저항하고, E플래그 레지스터(3)에 제5 데이터 값을 서입한 다음, 이 제 5데이터 값을 상기 메모리(11)의스택영역을 통해 상기 E플래그 레지스터(3)에 서입하는 단계와, (k) 상기 E플래그 레지스터(3)에 서입된 제5데이터 값을 상기메모리(11)의 스택영역을 통해 상기 EAX 레지스터(2)에 서입하는 단계와, (l) 상기 ALU(4)에 의해 상기 EAX 레지스터(2)에 서입된 제5 데이터 값의 각 비트를 우측으로 자리이동시키는 단계와, (m) 상기 (j) 단계에서 상기 메모리(11)의 스택영역에 저장된 상기 E 플래그를 레지스터(3)의 현재 데이터 값을 다시상기 E 플래그 레지스터(3)에 복귀시키는 단계와, (n) 상기 E 플래그 레지스터(1)의 AC 비트가 “1”로 세트되었는지를 판단하는 단계와, (o) 상기 AX 레지스터(2)에 제6 데이터 값을 서입하는 단계와, (p) 상기 메모리(11)의 임의의번지에 상기 AX 레지스터(2)의 AH 레지스터 값을 서입하는 단계와, (q) 상기(a) 단계에서 상기 메모리(11)의 스택영 역에 저장시킨 플래그 레지스터(1)의 데이터 값을 다시 상기 플래그 레지스터(1)에 복귀 저장시키는 단계로 구성되는 것을 특징으로 하는 프로세서 구별방법.A method for distinguishing a processor, comprising: (a) storing a data value of a current flag register 1 in a stack area of a memory 11, and (b) storing a first data value written in an AX register 2 in the memory; Writing to the stack area of (11), and then writing the written first data value into the flag register (1), (c) writing the first data value written into the flag register (1); Writing to the stack area of the memory 11, writing the written first data value into the AX register 2, (d) writing a second data value into the temporary register 3, and writing the ALU (40) logically computing the first and second data values of the AX register 2 and the temporary register 3 and transferring the result to the AX register 2, (e) the temporary register Determining whether the second data value written in (3) is equal to the first data value of the AX register (2), and (f) Writing a third data value to the flag register 1 in the same manner as in the previous step (b), (h) writing a fourth data value to the temporary register 3, and writing the ALU 4 Performing logical operation on the third and fourth data values of the AX register 2 and the temporary register 3, and transferring the result to the AX register 2, (i) the third and fourth Determining whether the data values are the same; (j) resistance of the current data value of the E flag register 3 to the stack area of the memory 11, and writing a fifth data value into the E flag register 3; Next, writing the fifth data value into the E flag register 3 through the stack area of the memory 11, and (k) writing the fifth data value written into the E flag register 3; Writing to the EAX register 2 through the stack area of the memory 11; (l) the EAX level by the ALU 4; Shifting each bit of the fifth data value written to the master 2 to the right; and (m) registering the E flag stored in the stack area of the memory 11 in step (j). Returning the current data value of the E flag register 3 back to the E flag register 3, (n) determining whether the AC bit of the E flag register 1 is set to "1", and (o) the AX Writing a sixth data value into the register (2), (p) writing an AH register value of the AX register (2) at any address in the memory (11), and (q) the and returning the data value of the flag register (1) stored in the stack region of the memory (11) back to the flag register (1) in step (a).
제1항에 있어서, 상기 단계 (e)에서 상기 임시 레지스터(3) 및 AX 레지스터(2)의 제2 및 제1데이터 값이 동일한 경우, 상기 AX 레지스터(2)에 제7 데이타 값을 서입하는 단계를 포함하는 것을 특징으로 하는 프로세서 구별방법.The method of claim 1, wherein in the step (e), if the second and first data values of the temporary register 3 and the AX register 2 are the same, a seventh data value is written into the AX register 2. Processor is characterized in that it comprises a step.
제1항에 있어서, 상기 단계 (i)에서 제3 및 제4데이타 값이 동일한 경우, 상기 AX 레지스터(2)에 제8 테이터 값을 서입하는 단계를 포함하는 것을 특징으로 하는 프로세서 구별방법.2. The method of claim 1, comprising writing an eighth data value to the AX register (2) if the third and fourth data values are the same in step (i).
제1항에 있어서, 상기 단계(N)에서 AC비트가 “1”로 세트되었을 경우, 상기 AX 레지스터(2)에 제9 데이터 값을 서입하는 단계를 포함하는 것을 특징으로 하는 프로세서 구별방법.2. A method according to claim 1, comprising writing a ninth data value to the AX register (2) when the AC bit is set to " 1 " in the step (N).
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.