Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

input / output

nastinatornastinator Member Posts: 19
Hello, I need little help for my assignment, please.
I need to get input from user, and assign it to a variable for calculations later on in program.

this is a sample of what i got

.data
first_number db ?
message1 db "Enter number",0

main proc

mov dx, offset message1
call writestring
call Readint
*

*this is where I need to assign the users input into first_number
(I will be multipling two numbers together later on)

Please Help
Tanks alot
Frank

Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : Hello, I need little help for my assignment, please.
    : I need to get input from user, and assign it to a variable for calculations later on in program.
    :
    : this is a sample of what i got
    :
    : .data
    : first_number db ?
    : message1 db "Enter number",0
    :
    : main proc
    :
    : mov dx, offset message1
    : call writestring
    : call Readint
    : *
    :
    : *this is where I need to assign the users input into first_number
    : (I will be multipling two numbers together later on)
    :
    : Please Help
    : Tanks alot
    : Frank
    :
    :
    [blue]http://www.codexxi.com/MyBlocks.html[/blue]
  • Andre YoungAndre Young USAMember Posts: 0

    \ http://forcoder.org \ free ebooks and video tutorials about // MATLAB C# Perl Assembly Go Visual Basic .NET C Python R Scratch C++ Swift PL/SQL Java Delphi Objective-C JavaScript Ruby PHP Visual Basic Rust Lisp Scheme Scala Alice Kotlin Lua VBScript Prolog ML Apex SAS Erlang Crystal Logo FoxPro Transact-SQL Hack Clojure Dart COBOL Fortran Bash D ABAP LabVIEW F# Awk Ada Julia // _____________

Sign In or Register to comment.