I found something with some help...
This:
makes this code:
and the array is saved in memory at 0100H - 0109H.
That's the first part completed. Now i have to do the equation n=i^2-1 (i from the for loop) in order to save n in every row of my array.
Any help appreciated!
---------- Post updated 15-05-12 at 07:33 AM ---------- Previous update was 14-05-12 at 05:02 PM ----------
Quote:
Originally Posted by giampoul
Now i have to do the equation n=i^2-1 (i from the for loop) in order to save n in every row of my array.
Any help appreciated!
A first idea is to add i with itself at a loop and then decrease the result with dcr.
But i have problems with the coding part.. Anyone ?
I am currently looking into an os on developed on an x86 platformwhich contains certain assembly code written in .s files(NASM- compatible ) instead of using C I was wondering why C could not be used to do low level stuff instead? Do anyone have any idea or could enligthen me?Appreciate any help... (0 Replies)
Hey guys, well I'm extremely knew to Unix so any help advice is very appreciated.
What I am trying to do is assemble a source code (Programming from the Ground Up: Chapter 3: Your First Programs)
The source code named "FINDING A MAXIMUM VALUE" is the code I am trying to link and run, but I... (1 Reply)
I want make simple assembly code for some thing like this a^6+6a^2+2a and range of a is between -3 to 3. I tried but it is not working properly. As this is my first assembly program that I am going to try, I want some help with it.
I found this example online but i dont want this kind of... (2 Replies)
When i run this with gcc filename.s -o filename. It is giving fatal error: Unknown opcode at define registers.
Anyhelp will be appreciated
.section ".data"
prompt: .asciz "\nThis program prints the Fibonacci sequence"
prompt2: .asciz "\nEnter a limit on the largest number to be displayed:"... (2 Replies)
Hi guys,
Assembly language is a low level language designed in 1950's, both system and application programs were written in assembly at that time. There is no question of assembly being very effecient compared to the other high level languages. But it is very cumbersome to write programs in... (9 Replies)
Hi. I learned C in high school and am proficient in it:D. At the college while learning microcontrollers there was a short course on assembly language which I skipped:p but had no trouble as most of the application programming had to be done in C. Should I go back n learn assembly language as I... (9 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)
As the title suggests, I want to better understand the following assembly code:
section .text
global main ; must be declared for linker (gcc)
main: ; tell linker entry point
mov edx, len ; message length
mov ecx, msg ; message to write... (2 Replies)
Discussion started by: Azrael
2 Replies
LEARN ABOUT DEBIAN
news::autoreply
AutoReply(3pm) User Contributed Perl Documentation AutoReply(3pm)NAME
News::AutoReply - derivative of News::Article for generating autoreplies
SYNOPSIS
use News::AutoReply;
$reply = News::AutoReply->new($message);
DESCRIPTION
Like News::Article, but must be given a reference to another article at creation time - initialises To, In-Reply-To, References etc.
correctly as an automatic reply.
USAGE
use News::AutoReply;
Exports nothing.
Constructor
new ( ORIGINAL )
Construct an autoreply to a message, assuming that the Reply-To (if present, otherwise the From) header of "ORIGINAL" is valid.
Returns a new Article object with no body or envelope sender, but with suitable headers.
If an environment variable LOOP is defined, it is used as the contents of an X-Loop header added to the reply (this is useful when
using this code in progs launched from a procmail recipe). Always preserves X-Loop headers in the original.
The reference-folding code could probably be improved.
AUTHOR
Andrew Gierth <andrew@erlenstar.demon.co.uk>
SOURCE
Contact the author.
COPYRIGHT
Copyright 1997 Andrew Gierth <andrew@erlenstar.demon.co.uk>
This code may be used and/or distributed under the same terms as Perl itself.
perl v5.10.1 2010-04-03 AutoReply(3pm)