Sponsored Content
Full Discussion: Why Assembly Language?
Top Forums Programming Why Assembly Language? Post 302580208 by Emily Henderson on Thursday 8th of December 2011 12:01:41 AM
Old 12-08-2011
Gabam ,that is a very good question you have come up with.Many people think assembly language is no more used today.But their is lot more to it.It is used primarily for direct hardware manipulation, It iworks wonders for speed optimization because it is more close to processor.
This User Gave Thanks to Emily Henderson 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

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

7. 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

8. What is on Your Mind?

Can assembly language be dispensed with ?

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)
Discussion started by: priyadarshianu
9 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
Manipulator(3U) 					    InterViews Reference Manual 					   Manipulator(3U)

NAME
Manipulator - base class for defining direct-manipulation semantics SYNOPSIS
#include <Unidraw/manip.h> DESCRIPTION
Tools use manipulator objects to encapsulate the mechanics of direct manipulation. Manipulators turn user input events into an animation sequence that characterize the manipulation. Manipulators abstract the manipulation into three phases: the grasping phase, which occurs at the start of the manipulation and lets the manipulator initialize state it will need in later phases; the manipulating phase, during which the manipulator accepts input events and generates graphical output that characterizes successive frames of the animation; and finally the effect phase, which occurs at the end of the manipulation and lets the manipulator finalize its state. Manipulator is an abstract base class. Subclasses support different manipulation semantics. MANIPULATOR PUBLIC OPERATIONS
virtual void Grasp(Event&) Grasp is called once at the beginning of direct manipulation to allow the manipulator to initialize its internal state based on the initiating event. virtual boolean Manipulating(Event&) Manipulating is called repeatedly during the manipulation whenever a new event arrives, until it returns false. Each call to Manip- ulating should produce a new frame of the animation that characterizes the manipulation. virtual void Effect(Event&) Effect is called once at the end of direct manipulation to allow the manipulator to finalize its internal state based on the last event supplied to the Manipulating operation. virtual void SetViewer(Viewer*) virtual Viewer* GetViewer() virtual void SetTool(Tool*) virtual Tool* GetTool() Get and set the viewer, in which the manipulator generates graphical output, and the tool that created the manipulator. These oper- ations do nothing by default; subclasses that require this information must redefine these operations to assign and retrieve the state they require. MANIPULATOR PROTECTED OPERATIONS
Manipulator() The constructor is protected to disallow instantiation of abstract base class objects. SEE ALSO
Event(3I), Tool(3U), Viewer(3U) Unidraw 1 August 1990 Manipulator(3U)
All times are GMT -4. The time now is 12:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy