How do I create a space function? 
Author Message
 How do I create a space function?

Hi All,

Can anyone tell me how to do a space function in Assembler? For example, how
do I put a space between 5 ,6 and 7 (5 6 7) while looping the input (serial
number such as 567)  from the memory?

If I am right, part of the function is :
                                                            mov ah, 1
                                                            int 21
                                                       which is a character
input function. What is the other part?

Thank you in advance.

Steve.



Tue, 04 Sep 2001 03:00:00 GMT  
 How do I create a space function?

Quote:

>Hi All,

>Can anyone tell me how to do a space function in Assembler? For example, how
>do I put a space between 5 ,6 and 7 (5 6 7) while looping the input (serial
>number such as 567)  from the memory?

[snip Intel code]

Wrong ASM newsgroup.  Try comp.lang.asm.x86.  This is IBM System/3x0 assembler
language, where you'd see something like

         MVC   OUT,=CL(L'OUT)' '
         LA    R1,IN
         LA    R2,OUT
         LA    R3,3
LOOP     DS    0H
         MVC   0(1,R2),0(R1)
         LA    R1,1(,R1)
         LA    R2,2(,R2)
         BCT   R3,LOOP

(Note to those who would jump in on this code - it's Q&D on purpose!)

Later,
Ray

--
M. Ray Mullins Roseville, California (soon Big Bear, Calif.) ICQ# 28901695
California Transit Publications - your one stop shop for transit marketing,
publications, planning and web services at http://www.catransit.com/     TIPs:
http://socaltip.lerctr.org http://norcaltip.lerctr.org http://cencaltip.lerctr.org



Wed, 05 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Pickler that handles modules, functions, and builtin functions -- done

2. Dynamic File Create - IT CAN BE DONE!

3. Dynamic File Create - IT CAN BE DONE!

4. Doing a Clipper-installer, create GRP and INI

5. Problem in creating space in a record

6. Can this be done in a function

7. Math functions: what is to be done?

8. functions -- what is Verilog doing here and why?

9. Doing a POW() function in asm??

10. what this function doing

11. Drive Capacity and Available Space Functions

12. regarding pointedness of function spaces

 

 
Powered by phpBB® Forum Software