flat assembler
Message board for the users of flat assembler.
Index
> Main > request 4Write an assembly code (8086) * in following patern |
Author |
|
elil_12@yahoo.com 23 Apr 2012, 17:45
Write a small program to print stars ascending and descending up to 7 levels like below.
User should be able to enter and value if the input is less than 100 stars should be printed in descending manner and if the input is more than 100 stars should be printed in ascending manner. The program should loop until user enters 100. Once the 100 is entered program should print 100 and exit. (See the sample output section to see how the output) Descending ******* ****** ***** **** *** ** * Ascending * ** *** **** ***** ****** ******* Write an assembly code (8086) to achieve the above mentioned. You may use the “debug” command under windows environment or use Flat Assembler. Note that this should be a console application.
Last edited by elil_12@yahoo.com on 24 Apr 2012, 10:24; edited 2 times in total |
|||||||||||
23 Apr 2012, 17:45 |
|
edfed 23 Apr 2012, 17:58
diy!
|
|||
23 Apr 2012, 17:58 |
|
JohnFound 23 Apr 2012, 18:01
Interesting. What is the school that uses FASM as an education compiler?
|
|||
23 Apr 2012, 18:01 |
|
elil_12@yahoo.com 23 Apr 2012, 18:25
University
|
|||
23 Apr 2012, 18:25 |
|
AsmGuru62 23 Apr 2012, 18:33
elil_12:
It is unclear what do you need -- see my message. |
|||
23 Apr 2012, 18:33 |
|
elil_12@yahoo.com 24 Apr 2012, 07:20
when run program out put should like bellow
Printing the stars. Enter vale less than 100 to print starts from 7 to 1. Enter value more than 100 to print starts from 1 to 7. Enter value 100 to finish the loop. Enter a valid Number: 075 ******* ****** ***** **** *** ** * Enter a valid Number: 115 * ** *** **** ***** ****** ******* Enter a valid Number: 211 * ** *** **** ***** ****** ******* Enter a valid Number: 055 ******* ****** ***** **** *** ** * Enter a valid Number: 100 Bye. |
|||
24 Apr 2012, 07:20 |
|
revolution 24 Apr 2012, 08:32
Homework help should be stated in the request so that people know that they will be helping you pass some test.
|
|||
24 Apr 2012, 08:32 |
|
elil_12@yahoo.com 24 Apr 2012, 10:24
Do u mean subject of forum should start with request... some thing?
I couldn't get you? |
|||
24 Apr 2012, 10:24 |
|
revolution 24 Apr 2012, 10:41
Something like this:
Please help me with my homework. I have this problem ... Also you should post the code that you have done so far to show that you are at least trying to solve this problem yourself. Perhaps you are stuck with something specific? You can't expect us to write your homework for you but we would be happy to help you for problems with fasm or the x86 instructions. |
|||
24 Apr 2012, 10:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.