Here's receive it's kind of like the line right before it accept it defines a line that is 30 bytes long and everything else is truncated.
Here's line 18 This code sends a string to a file which if 0 I believe sends the string to stdout. I want to concatenate dx and '$', '$' being the string I want to add to the end of dx which should be Receive at this point
And here's a highlight about line 18. dx is the line int 21h will print if you mov ah, 09h and don't change ah. And it actually is a stupid line because receive was already moved into dx right before it. click the image for a list of interrupt options for 21h. ---------- Post updated at 11:21 PM ---------- Previous update was at 11:20 PM ----------
I just want to strcat(dx, '$') right before int 21h/line 19
Hi there,
I found the following script on the net, i like to use it as a standard template for new scripts.
But i do not understand the meaning of the last line, can anybody explain what going on on the last line
vflag=off
filename=
while getopts vf: opt
do
case "$opt" in
v)... (9 Replies)
Hi, i've got the following:
a=`echo $b | grep '^.*/'`
i'm storing in the variable the value of the variable b only if it has a / somewhere.
It works, but i don't want to print the value. How do i give the value of b to the grep command without the echo?
thanks! (5 Replies)
Hello..
I am doing some awk-ing and among all I use substr inside it..
I have: ....substr($0,60,37)
meaning as U all know take from 37 char. from point 60..
can I put it like this substr($0,60,end of line)
meaning take it from point 60 and take all characketrs in that line until line... (2 Replies)
First af all hi.
i want to create a batch script which inform when users log in last time on system or if they are online when they logged in.
I want ot use a file .users which has the usernames of users.
i want to print for example
peter is ONLINE: Logged in on Wed Feb 11 07:47
alex... (2 Replies)
I am looking for some model like this:
My Computer
-------------
Intermediate Server (IS)
-------------
Own Server
I must be able to ssh into the Intermediate Internet Server which is generally an online version of SSH service through which I will connect to Own Server. I was the IS to... (2 Replies)
Can any body tell me when I put close(2), why the code does not show any out put?
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
int main(){
int fd1,fd2,fd3,fd4;
close(2);
fd1=open("test1.txt",O_WRONLY |O_CREAT | O_TRUNC,0744);
fprintf(stderr,"fd1 = %d\n",fd1);
... (5 Replies)
Hello experts,
I am using fork() in my code but I am confused which output comes first child or parent?
I did the following code .My book shows parent first but my linux shows child first.Can anyone tell me why?
#include <stdio.h>
int main(){
int pid;
printf("I am original process with pid... (5 Replies)
Im trying to make a vga program for linux Im wondering if anyone knows of a simple document on the subject or if someone could show me some basics. What system calls should I use what parameters should I give them. How do I draw a line of pixels green after in vga mode. I prefer nasm but I can use... (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am having a hard time with this assignement i cant get the pfib value to print out the fib sequence.
... (1 Reply)
Discussion started by: kenjiro310
1 Replies
LEARN ABOUT HPUX
as_pa
as_pa(1) General Commands Manual as_pa(1)NAME
as_pa: as - assembler for PA-RISC systems
SYNOPSIS
[file]...
Remarks
This manpage describes on PA-RISC systems. For on Integrity systems, see as_ia(1).
DESCRIPTION
The command assembles source text from files or standard input and produces a relocatable object file suitable for the link editor, (see
ld(1)).
Source text is read from standard input only if no file argument is given. Standard input cannot be a device file, such as a terminal.
The option and file arguments can be intermingled on the command line. Every specified option applies to every specified file, or standard
input. The source files are concatenated to form a single input stream.
If the option is not specified, the suffix (if any) is stripped from the end of the last source file name and is appended to the name to
form the name of the default object code output file.
output is not optimized. creates a relocatable object file that must be processed by before it can be successfully executed (see ld(1)).
The compiler normally runs the C preprocessor (see cpp(1)), then invokes to assemble the files together with and subsequently invokes
Options and Operands
recognizes the following options and operands:
file A text file containing assembler source code.
Permit an unlimited number of errors to be tolerated
before the assembly process is abandoned. By default, one hundred errors are allowed before the assembler aborts.
Set the default value for the
directive to The normal default value for a that omits the or parameter is
Write a listing of the program to standard output after assembly.
This listing shows the offsets of instructions and actual values for fields.
Name the output object file
objfile instead of using the default suffix on the file name of the last file specified.
Set the default privilege level for an
directive to number. By default, all user-level procedures are exported at privilege level 3.
Set the output file suffix to
instead of The file will have a format suitable for conversion to the ROM burning programs.
Do not create unwind descriptors.
To avoid the need for the directive, the and directives must not have been used.
Write cross-reference data to the file named
xrfile.
Print the version number of the assembler program to standard error
before assembling the source text.
Either suppress all warning messages if no
number is supplied or suppress just the warning number provided. Multiple options can be used to suppress additional
warning messages.
Assemble code for the
architecture specified. The use of this option is discouraged. The preferred method for selecting the architecture
is to have a directive contained within the assembly source file.
The assembler uses the following precedence to determine the target architecture.
1. Use the directive within the assembly source file.
2. Use the command-line specification.
3. Use the default architecture of
Both of these options are used in the building of shared libraries.
For a more complete discussion regarding these options, see the manual
EXTERNAL INFLUENCES
International Code Set Support
Single- and multibyte character code sets are supported.
DIAGNOSTICS
When syntactic or semantic errors occur, a single-line diagnostic is written to standard error, that includes the file name and the line
number where it occurred. The format is as follows:
as: "filename",line line: error error: message
source = source-line
WARNINGS
does not invoke cpp(1) or m4(1) to perform macro processing.
FILES
Hardware register definitions
Software calling convention register definitions
Standard space and subspace definition
Assembler error message catalog
Space, subspace and register definitions
Object file
SEE ALSO adb(1), cc_bundled(1), cpp(1), ld(1), nm(1), crt0(3).
PA-RISC Systems Onlyas_pa(1)