Sponsored Content
The Lounge What is on Your Mind? Can assembly language be dispensed with ? Post 302660651 by kduffin on Friday 22nd of June 2012 06:26:09 PM
Old 06-22-2012
The real advantage to learning assembly language is a low-level understanding of pointers and memory handling. You'll have a better understanding of the real operation and cost versus someone who has not. I really enjoyed my foray into assembler and still revisit it on occasion. A simple internet search of 'assembler emulator linux tutorial' will provide of wealth of suggestions for your iteration over a set of integers... The world is filled with average developers; it pays to stretch yourself.
These 2 Users Gave Thanks to kduffin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Assembly vs C programming

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)
Discussion started by: duoshock
0 Replies

2. Shell Programming and Scripting

Unix assembly help

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)
Discussion started by: ac09
1 Replies

3. Programming

Assembly Language ( compile )

Can someone explain how to compile assembly language code. I made my first assembly language code, but don't know how to run it. I know i can debug with gdb, but is there any way to just compile it and get the answer like in C and java compilers. (3 Replies)
Discussion started by: Learnerabc
3 Replies

4. Programming

Help with assembly code

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)
Discussion started by: Learnerabc
2 Replies

5. Programming

Fibonacci (assembly)

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)
Discussion started by: Learnerabc
2 Replies

6. Programming

Why Assembly Language?

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)
Discussion started by: gabam
9 Replies

7. Programming

Ok i have a small assembly question

I have this small program that runs with the flat assembler. My problem is that at the receive line function it receives the line and if there isn't a $ typed at the end of the user input the program displays a lot of strange stuff, sometimes beeps and then it seems to terminate without causing any... (13 Replies)
Discussion started by: Errigour
13 Replies

8. Programming

Assembly 8085

Hi eneryone, Im trying to learn about assemply 8085 in order to make a project i have. First of all which emulator to use? I work in linux and I currently istalled GNUSim8085. Also, maybe somewhere I can find some simple examples? The project is about making an array saved in specific... (8 Replies)
Discussion started by: giampoul
8 Replies

9. Homework & Coursework Questions

Sparc Assembly

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

10. Programming

Understanding Assembly Code

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
as_ia(1)						      General Commands Manual							  as_ia(1)

NAME
as_ia: as - assembler for Integrity systems SYNOPSIS
outfile] [file] Remarks This manpage describes on Integrity systems. For on PA-RISC systems, see as_pa(1). DESCRIPTION
assembles the named source file file, or the standard input if file is not specified. The output of the assembler is an ELF relocatable object file that must be processed by before it can be executed. Assembler output is stored in file outfile. If the option is not specified, the assembler constructs a default name. If no source file is specified, outfile will be otherwise the suffix (if present) is stripped from the name of the source file and is appended to it. Any directory names are removed from the name so that the object file is always written to the current directory. does not not perform any macro processing. Standard C preprocessor constructs can be used if the assembler is invoked through the C com- piler. Options recognizes the following options: Specify that the source file contains 32-bit ABI targeted code. This option is overridden by the assembler directive in the source file. The object file is a 32-bit ELF file by default. Specify that the source file contains 64-bit ABI targeted code. This option is overridden by the assembler directive in the source file. The object file is a 64-bit ELF file by default. 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. Specify that the object file should be 32-bit ELF. This is the default (see also Note that it is valid to write 64-bit ABI targeted code to a 32-bit ELF file. All 32-bit addresses in the object file are zero-extended to 64-bit upon loading. Zero-extension, however, may invalidate any negative addresses (such as with relocations). Specify that the object file should be 64-bit ELF (see also See See Set dependency checking. lvl must be one of the following: or what must be one of the following: or Produce an output object file with the name outfile instead of constructing a default name. Print the version information to stderr before assembling the input. Suppress the specified warning messages. Promote the specified warning messages to errors. Suppress all warning messages. EXTERNAL INFLUENCES
Environment Variables determines the location of the message catalog for the processing of controls which assembler to invoke and enables support for multiple (cross-) development kits. The variable points to the root of a spe- cific SDK. No provision has been made to validate the value of the variable or the suitability of the assembler that's being invoked. International Code Set Support Single- and multi-byte character code sets are supported. WARNINGS
The assembler does not check dependencies. DIAGNOSTICS
When syntactic or semantic errors occur, a single-line diagnostic is displayed on standard error, together with the line number and the file name in which it occurred. FILES
assembler error message catalog default assembler output file SEE ALSO
cc(1), ld(1), elf(3E). Integrity Systems Only as_ia(1)
All times are GMT -4. The time now is 11:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy