answersLogoWhite

0


Best Answer

AND it to 1 and test for zero.

All even numbers have 0 in the last bit.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can a given number can be checked as even or odd in 8085?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does a prime number always go an equal number of times?

No. A given number need not even be divisible by a given prime.


What is the only given prime number?

The only even prime number is 2.


How many bits in 8085 microprocessor?

The 8085 is an 8-bit microprocessor. Even though there are some 16-bit registers (BC, DE, HL, SP, PC), with some 16-bit operations that can be performed on them, and a 16-bit address bus, the accumulator (A), the arithmetic logic unit (ALU), and the data bus are 8-bits in size, making the 8085 an 8-bit computer.


Dicide given number is odd or even?

An even number can be divided by 2 evenly. An odd number will have a remainder of 1 when divided by 2.


How will you know that the root of a given number is even or odd?

Assuming you know that your number is a perfect square, the square root of an even number is even, and the square root of an odd number is odd.


How can you tell whether a given number is a multiple of 2?

If it is even


1989 Yamaha waverunner 500 can cdi be checked?

yes it can be tested with a cdi tester!!! that even as a part number


What is the lowest priority interrupt in the 8085 microprocessor?

The lowest priority interrupt in the 8085 microprocessor is INTR, unless you also consider the software interrupts, RST 0 through RST 7, which are even lower.


What is the use of command MOV A A in 8085 microprocessor?

The MOV A,A instruction in the 8085 does nothing, not even change flags. It only consumes time, specifically four clock cycles plus applicable wait states.


Given below is the even number function Which of the following are equal to E 26 Check all that apply?

16 and The eighth even number


What is difference of even number to odd number?

even number can be divided by 2 to give a natural number undecimal whereas the odd number can't be divided by 2 or else given a decimal number


How do you detect odd number in microprocessor 8085?

Test the least significant bit of the number. If it is 1, the number must be odd. If it 0 it must be even. To achieve this, place the value in B then use the ANI instruction: ANI 01H Thus if B is 01H, B is odd, otherwise it is even. Works for both positive and negative integers.