# In Assembly Language, make a program that creates a 4 digit random number, but the digits are differ

In Assembly Language, make a program that creates a 4 digit random number, but the digits are different from each other, and then the program will store these numbers in the memory. Then, user will make a guess to find the number the program has generated, and will wait for result. According to result we need to make a correction on number placement. The program will compare the generated digits and user entered digits. If the user guessed the placement of a number correct, the program will show us +1 (means number is in correct place), and if the user enters correct number but wrong place, the program will show us -1 (means correct number but wrong place).
In example:
(Here computer generates a 4-digit number but keeps it hidden from the user. Let&#39;s say the generated number is 1234.)
Guess the number the program generated: 4231 (user input).
Result: +2 -2
Means the number 2 and 3 were in correct place, but 1 and 4 were in wrong place.

Another user input: 1683
Result: +1 -1
Means we have found 1 number in correct place (Which is 1) and 1 number in wrong place (Which is 3). And the other 2 numbers (6 and 8) doesn&#39;t exist in the program generated numbers.

NOTE: Please show the code using IRVINE compiler.

NEED HELP WITH SUCH A TASK? WE HAVE THE BEST TUTORS FOR YOU. ORDER NOW FROM 10\$/PG