How do you print repeated digits from 1 to n after asking a user to enter a int8 number n.The printed digits should be random.say for example a user enters enters n=5 then the program prints randomly 11223412345.You can see the maximum is 5.Also how do you sum up these numbers to print a sum.This should be done in assembly language hla
Paul_103
0
Newbie Poster
Recommended Answers
Jump to PostMy last assembly language was on a MicroChip PIC and the output over RS232 to a terminal (PC running old Hyperterm.)
While you didn't reveal which microprocessor was the target, today we have some hundred to choose from but why is the tag SQL selected?
Be sure to show your …
All 3 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
Paul_103
commented:
thanks.I'm using HLA and windows command window
+0
rproffitt
2,580
"Nothing to see here."
Moderator
Paul_103
commented:
ok I use HLA not MASM.
+0
rproffitt
2,580
"Nothing to see here."
Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.