Assembly vs C programming


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Assembly vs C programming
# 1  
Old 09-12-2006
PHP 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 offered

rgds,
duoshock

Last edited by duoshock; 09-12-2006 at 11:47 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

3. Programming

vga assembly question

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question
xsd(1)																	    xsd(1)

NAME
xsd - Mono's utility for generating schema or class files SYNOPSIS
xsd <schema.xsd> /classes [options] xsd <schema.xsd> /dataset [options] xsd <assembly>.dll|<assembly>.exe [options] xsd <instance.xml> [<instance.xml> ...] [options] DESCRIPTION
xsd is a tool for intended to complement the XML serialization support of Mono. It can do the following tasks: Generate serializable classes From a given XML schema, generate a class that can be used to read and write xml documents that conform that schema (/classes option). Generate typed datasets From a given XML schema, generate a typed DataSet class that can be used to read and write xml documents that conform that schema (/dataset option). Generate XML schemas From a given assembly and an optional type name, generate an XML schema that can be used to validate the xml documents that can be obtained by serializing objects of that type. If no type is provided, xsd generates a schema for all types in the assembly. When specifying the assembly name do not include the file extension (.dll or .exe). xsd will look for the assembly using the standard assembly loading rules. Infer XML schemas From a given set of XML documents, infer the XML schema that can be used to validate those documents. OPTIONS
The following options are available: /element:name /e:name Specifies the name of the XML schema element for which a class or a dataset has to be generated. /namespace:name /n:name Specifies the namespace of the XML schema element for which a class or a dataset has to be generated. /language:name /l:name Specifies the programming language to use for the generated code. The only supported languages are CS (C#) and VB (Visual Basic.NET). /generator:type,assembly /g:type,assembly Indicates xsd.exe to use custom CodeDomProvider to generate code. The type name must be full name. Assembly name is a local file name that is going to be loaded. The specified Type must have the default constructor. /outputdir:path /o:path Specifies the directory where to generate the code or schemas. /type:name /t:name Specifies the full name of the type (including namespace) for which to generate the XML schema. /help /h Show usage help. AUTHORS
Lluis Sanchez Gual (lluis@ximian.com) Atsushi Enomoto (atsushi@ximian.com) LICENSE
xsd is released under the terms of the GNU GPL. SEE ALSO
disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1) xsd(1)