Program :
Write an assembly program to find out the number of positive numbers and negative numbers from a given series of signed numbers.
Solution :
Take the i^{th} number in any of the registers. And rotate it left throughout carry. The status of carry flag, for example the most significant bit of the number will give the information regarding the sign of the number. If CF is 1, the number is negative; or else, it is positive.