Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: glogic
  • Content: Threads
  • Order by date
  1. glogic

    outputing numbers from an array

    i have the numbers in the array now, both in single and double digits now what i am trying to do is display them back out to the screen. this is what i have and i dont know why it aint working mov bx,offset numarray mov cx,count outtake:mov al,[bx] cmp al,9 ;to check...
  2. glogic

    putting data into array

    in assembly language how do i place numbers into an array numarray db 5 dup(?) firstnum db 0 mov ah,1 int 21h mov firstnum,al mov bx,offset numarray mov [bx],firstnum now i aint sure if a variable can be placed into an array like this.. does it have to come from a...
  3. glogic

    convert ascii to decimal

    hey there.. i am having trouble converting a decimal double digit number that is in a variable out of ascii.. when ever i try to print to the screen it gives me the ascii value for the number e.g 40 = ( when i just want to print 40
  4. glogic

    moving ax into a variable

    hi how u doing.. what i am trying to do is take in 2 digits and then place them in a variable. i use mov ah,1 to take in the first didit which i then place in a db then i use another mov ah,1 to take in the second digit which places the character in al. i then place the stored db back into ah. i...
  5. glogic

    local procedures

    hi who ever is reading this.. what i need to do is take write a procedure which can take input of 2 digit values and another procedure to output 2 digit values. this is to be written in assembly thanks in advance and any help at all would be great
  6. glogic

    NEED HELP WITH ADDING 2 NUMBERS

    HI I KNOW THAT THIS IS HANDY TO EVERYONE ELSE BUT I DONT KNOW WHAT I AM DOING WRONG.. I AM ADDING TWO NUMBERS FROM AX AND BX AND RESULT IN AX AND WHEN THE ANSWER IS BELOW 10 IT OUTPUTS THE ANSWER FINE BUT WHEN THE ANSWER IS 10 OR OVER IT GOES MAD ON ME.. PLEASE HELP G

Part and Inventory Search

Back
Top