Author Topic: Masm x86 Assembly Language  (Read 631 times)

navidmudassir17

  • Regular Member
  • *
  • Posts: 1
Masm x86 Assembly Language
« on: November 23, 2017, 10:30:04 AM »
Using the following form

.data

.code

coding
call Create RandomArray
call PrintArray
call PrintReverseArray
call CountArray
call PrintCount
call PrintCountGraph
more coding

main endp
All methods
•   Write the program to create 100random numbers from 20 to 30 and print them in an array called TestArray
•   Print the array out with all numbers
•   The print the numbers in reverse
•   Print the array out us1ng ptr
•   The count how many of each number there was.
•   Print the count out as numbers
•   Print the counts out a a bar graph
Ex 20 ****
21 ******
25 ****

•   The graph must use a drawline method

i need help in assembly language with MASM
I tried everything but my program does not work

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5481
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Masm x86 Assembly Language
« Reply #1 on: November 23, 2017, 11:22:38 AM »
You need to tell us a bit more about what you are using, I gather it is the 32 bit version of MASM and from the procedures you are calling, it looks like Irvine library modules.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin: