Ect 464
Download
1 / 11

ECT 464 - PowerPoint PPT Presentation


  • 104 Views
  • Uploaded on

ECT 464. Lecture 10 Comparison. Today’s Quote: You cannot win if you do not begin. Now finish the work, so that your eager willingness to do it may be matched by your completion of it, according to your means. 2 Corinthians 8:11. Comparison Instructions. EQU – Equal NEQ – Not equal

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' ECT 464 ' - delano


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Ect 464

ECT 464

Lecture 10

Comparison


Today’s Quote:

You cannot win if you do not begin.

Now finish the work, so that your eager willingness to do it may be matched by your completion of it, according to your means.

2 Corinthians 8:11


Comparison instructions
Comparison Instructions

  • EQU – Equal

  • NEQ – Not equal

  • LES – Less than

  • LEQ – Less than or equal

  • GRT – Greater than

  • GEQ – Greater than or equal

  • MEQ – Masked comparison for equal

  • LIM – Limit test


Equal equ
Equal (EQU)

  • Tests whether two values are equal

  • Source A must be an address

  • Source B can be an address or a constant


Not equal neq
Not Equal (NEQ)

  • Tests whether two values are not equal

  • Source A must be an address

  • Source B can be an address or a constant


Less than les
Less Than (LES)

  • Tests whether Source A is less than Source B

  • Source A must be an address

  • Source B can be an address or a constant


Less than or equal leq
Less Than or Equal (LEQ)

  • Tests whether Source A is less than or equal to Source B

  • Source A must be an address

  • Source B can be an address or a constant


Greater than grt
Greater Than (GRT)

  • Tests whether Source A is greater than Source B

  • Source A must be an address

  • Source B can be an address or a constant


Greater than or equal geq
Greater Than or Equal (GEQ)

  • Tests whether Source A is greater than or equal to Source B

  • Source A must be an address

  • Source B can be an address or a constant


Masked comparison for equal meq
Masked Comparison for Equal (MEQ)

  • Tests whether data at the Source is equal to data at the Compare

  • Source must be an address

  • Compare can be an address or constant

  • Mask is the address or a constant through which the data is compared.

  • Bits in the mask allow bits in the source and compare to be compared when set.


Limit test lim
Limit Test (LIM)

  • Tests whether data is within or outside a specified range

  • If Test is a constant, Low and High limits must be addresses

  • If Test is an address, Low and High limits can be addresses or constants.

  • If the Low limit is greater than the High limit, the instruction is false between the two limits.


ad