flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
elil_12@yahoo.com
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 |
|||||||||||
![]() |
|
edfed
diy!
|
|||
![]() |
|
JohnFound
Interesting. What is the school that uses FASM as an education compiler?
|
|||
![]() |
|
elil_12@yahoo.com
University
|
|||
![]() |
|
AsmGuru62
elil_12:
It is unclear what do you need -- see my message. |
|||
![]() |
|
elil_12@yahoo.com
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. |
|||
![]() |
|
revolution
Homework help should be stated in the request so that people know that they will be helping you pass some test.
|
|||
![]() |
|
elil_12@yahoo.com
Do u mean subject of forum should start with request... some thing?
I couldn't get you? |
|||
![]() |
|
revolution
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.