1 / 11

# ECT 464 - PowerPoint PPT Presentation

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

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

## PowerPoint Slideshow about ' ECT 464 ' - delano

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

Lecture 10

Comparison

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

• 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

• Tests whether two values are equal

• Source A must be an address

• Source B can be an address or a constant

• Tests whether two values are not equal

• Source A must be an address

• Source B can be an address or a constant

• Tests whether Source A is less than Source B

• Source A must be an address

• Source B can be an address or a constant

• 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

• Tests whether Source A is greater than Source B

• Source A must be an address

• Source B can be an address or a constant

• 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

• 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.

• 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.