How to call a "C"-function present in a different file from assembly language code

How to call a "C" function present in some file from assembly language code ( x8086).We are using MASM611 compiler i.e., ML.EXE to compile the Assembly language code.Assembly language file ( .asm ) wants to call a C function present in a C language file ( .C ) file. .C file contains only f ...

HELP! LC3 Assembly language code error

so i have to write a code which does the following:Write an LC-3 assembly language programme that performs the following tasks:?• Prints out your nickname, the country you live in, your birth yearFor example,Dingo DeanSouth Africa1985and heres my code: .ORIG X3000AND R0, R0, #0AND R1, R1, #0AND R2, ...

call assembly language code in VC++

can any one tell me how to catch interrupts in VC++ using assemble language code ...

assembly LANGUAGE code required

I need a program in assembly that disables just the math coprocessor And if the math coprocessor is disabled then enable it.if any one could help me out. ...

Need help with assembly language question

HelloI need help with an A level computing exam that is coming up very soon.Sometimes in the exam students are asked to write some assembly language code. A typical question is:Using the trace table below write the assembly language equivalent of the following:X=0 While Not (x = 999)Do x = x + 1End ...

Mathematical Assembly Language Program (Help).

I'm writing assembly language code to run this pseudocode:*************************************************** * This program will run the structure: * * * * while (a <= 10) * * { * * if ((a +b) >= c) * * { * * a = a - b * * c = c - 1 * * } * * else * * { * * a = a + b * * c = c + 1 * * } * * c ...

Need help with assembly language question

HelloI need help with an A level computing exam that is coming up very soon.Sometimes in the exam students are asked to write some assembly language code. A typical question is:Using the trace table below write the assembly language equivalent of the following:X=0 While Not (x = 999)Do x = x + 1End ...

Digital clock source code for assembly language for 68k microprocessor

guys.....I need the guide and also the source code on how to built the digital clock with stop-watch.....for the 68000 microprocessor using assembly language.Please help me.....!!!! ...

Alarm digital clock assembly language for 8085 microprocessor

I am final year student. my final year project is designing digital alarm clock. i want to display digital clock at computer screen and i have worked on it for 2 days but still cant find a way to do it. can anyone pls write a program running in 8085 microprocessor for me. i need help......:-| ...

pc based digital clock via parallel port using assembly language in tasm

hi, i have this project and we already have a code and the circuit but it is not working..it's supposed to display the hours and minutesthe problems are:1. the hour display is not displaying anything2. the minute displays but it is advanced by one minuteso here's the code:TITLE CLOCK.ASMDOSSEG.MODEL ...

structural(code) coverage for source code in assembly language using RTRT.?

Can we get structural(or code) coverage for source code in assembly language (MPC5554) using RTRT..?If yes can you tell me the procedure. ...

Windows Assembly Language and Systems Programming - Missing souce code

Does anyone have the source code for this book - "Windows Assembly Language and Systems Programming". I bought this book on amazon.com because I want to learn assembly language and online tutorials are just too blunt for the way I learn. It normally comes with a companion disk but they did ...

Images used in a digital clock

I have to make a digital clock (which i did figure out) but the number needs to be images with the numbers on them. (ex.: (an image of the number 1+an image of the number 2+image of number 0+images of number8) would be 11:08))Here's what I have so far. Do I need to use <img src=""> i ...

Assembly language help

The given question is below. Write two (2) ARM assembly language subroutines, called output_character and read_character. These subroutines will allow a user to enter a character and display the character in PuTTy via the UART. All user input should be echoed back to the display.The following ARM as ...

beginning assembly language, need help

so i'm taking an intro computer organization class and we're learning assembly language right nowone of our first labs is to create a program that will ask for an encryption key and a message to be encrypted, and using an algorithm we are supposed to output the encrypted message. i have two question ...

Learning Assembly Language

I've read a few different articles about the pros and cons of learning Assembly Language; most notably regarding the potential benefits in code efficiency, and also the increased level of expertise required to really use it to its full potential.Just wondering whether anybody out there can tell me w ...

Structures in assembly language

I've been in a class on assembly programming recently, and I wrote the following piece up in response to a question from another student. I thought it might be worth posting here, as I know that we get questions along these lines from time to time, and it might be useful even for those who aren't do ...

how to use assembly language

can anyone tell me how to use assembly language to get mac id in c++??see that,i have to use cpuid instruction or bit of assembly code in program...if i use cpuid instrcution,is there any other requirements for the system??how can i check whether the system supports or not??if anyone can provide as ...

Plz tell, urgent(Assembly language)?

How can we get our name in reverse order in a Assembly language, like Maria...airam..plz write the code. ...

Introduction to 80 x 86 Assembly Language and Computer Architecture - no CD - help

I recently bought this book online used, it came with no CD. Many of the code examples in this book rely on some file called IO.h that apparently came with the CD. I downloaded this file and I still get many errors. Does anyone have these files, or do I even need them? Can I just learn assembly with ...

Images used in a digital clock

I have to make a digital clock (which i did figure out) but the number needs to be images with the numbers on them. (ex.: (an image of the number 1+an image of the number 2+image of number 0+images of number8) would be 11:08))Here's what I have so far. Do I need to use <img src=""> i ...

Tutorial on Assembly Language

I want to learn Assembly language in 1 day can anyone suggest me a BestTutorial on Assembly language using TASM v4.1?I know this is next to impossible. Still Please Help.Also please tell me sites where I could get some source code which has comments on each of its source lines depicting what each li ...

Boot Loader using Assembly Language

I have been trying to write a simple Hello World boot loader using assembly language.I tried my first program to print a character 'A' on the screen by writing to the VDU memory. The code is as shouwn below : entry startstart:mov ax,#0xb800mov es,axseg esmov [0],#0x41seg esmov [1],#0x1floop1: jmp lo ...

How to build a Binary Tree in Assembly language?

I tried looking high and low for a sample of writing a code for a Binary Tree, there isnt one or i must have missed it somewhere. This is what i would need in assembly language. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; insert Insert a new node in a binary search tree ; ; ; En ...

Need Help With assembly language!!

Hello. I have been assigned a programming task which is to be completed using assembly language for motorolla 68k (os9). I will attach the assignment brief to the email and a copy of the source code in a txt file. I have to adapt the code so that it does the following things:1. Ask for and read in a ...

Plz tell, urgent(Assembly language)?

How can we get our name in reverse order in a Assembly language, like Maria...airam..plz write the code ...

help with atmega168 assembly adc code

assembly professionals, i am doing a robot project and i intent to use assembly language to control the brain of the robot which is an atmega168 microcontroller. I have programmed the adc successfully the controller using arduino C language but i have a problem using studio4 assembly. here is the co ...

hi, digital clock

plz could u give me a tasm code for digital clock because i have a project tommowro ...

writting a compiler for assembly language program by Java .. Help me please

I suppose to write a grammar file for assembly language program by using Java in ANTLR .. but I don't know from where should I start .. and what should I do.. I am lost.. any expert with this subject could help me I have read a lot but actually there is no time for me to read more.. and I suppose to ...

Assembly Language Coding

I want to start coding in assembly language in linux...if have previous experience of it in windows....please tell me what are the various tools required to code in assembly in linux. ...

Need help in writing a Digital clock program

all, I am doing a school project. I am using a At89C51ED2 microprocessor and it is connect to a 2-Line LCD panel. My teacher need me to write a program of the digital clock using the timer in the microprocessor. He want me to show the word " clock: " on the first line of the LCD and displa ...

help with assembly Language

i have this code i have to translate it to machine code assembly language and this is really confusingi have to right x = 8y = 12if(x > y)x = y - xelsex = x - yandint x = -5int rslt = 0while (x !=0){rslt = rslt + xx = x + 1}and i would really appericate it if any body could help me ...

Calculator in MARIE Assembly Language

I'm trying to create a calculator in MARIE Assembly Language. After some brain storming, I have addition, subtraction, and multiplication codes. I'm completely new to this language and would like to get some help on how to get started. Any help will be appreciated. ThanksORG 100 /StartInputStore AIn ...

Assembly language newbie and virus source codes

I am a newbie for the x86 and x64 assembly language.Correct me if I am wrong. 99% of the assembly language sourcesare revese engineered virus binary. So what acutally a newbie hadto read is those. Except the realiaty that's the truth. These days I'm reading the intel docs ( free downloadable by inte ...

Ubuntu c and c++ to assembly language

is there anyway in ubuntu by which we can translate or convert a high level language such as c, c++ into an assembly level code?what i mean is say i wrote a hello world program in c . i want some software or command which converts the code into an equivalent assembly level code.hope i am clearthanx ...

language / code conversion tool

Anyone has the information regarding the language / code conversion tool ? For example, a tool that can convert C code to VB or Java code to C...or even convert assembly code to and high level language C, VB, Java... ? ...

digital clock

i want to create a digital clock but i dont want to use forms....Is there any way to do that .?? I was trying to use the document.write but i cant do it continiously because destroy the javascript code! ...

Difference between IL and assembly language???

I read the following at one of the links provided by codeguru -"The main benefit of Intermediate Language is its power to integrate with all .NET languages. This is because all .NET languages produce the same IL code upon successful compilation; hence, they can interact with each other very eas ...

simple assembly language programe (facing problem)

there everyone. I am really new to this assembly language and i dont know how to code this simple programe.. Please help me and give me the code I would very much appreciate it.. here is the question.. Need to design assembly language programe IA-32 that could find the number of 0's [binary] in each ...

Ubuntu Assembly language command line args program not working

Hello, I'm new to assembly language, and I'm trying to make a program (in NASM, on a 64-bit machine) that prints out arguments to the command line. I can't figure out why the following does not work:section .dataempty db "The pointer was null",10,0section .textglobal _start_start:mov rcx, ...

Ubuntu Digital clock in Pygtk window

I need to show the updated time in a window (or label).I was looking a example with Tkinter but I do not know how to integrate in a pygtk windowThis is the code # use Tkinter to show a digital clock# tested with Python24 vegaseat 10sep2006from Tkinter import *import timeroot = Tk()time1 = ''clock = ...

Ubuntu What assembly language in GCC giving me?

G'day all,Ok. I'm a C programmer (well, learning to be) and lately I've taken to reading quite a bit of my compiled code so that I can better understand C and assembly language and computer programming in general. But there are some things in the asm that I do not get. I would happily look these thi ...

JS / HTML Digital Clock - Ammendment help!

I'm new to this forum, and would love to get some help!I have a digital clock for my HTML website, which is created using images and javascript functions. This is the clock I used:http://www.ricocheting.com/code/javascript/html-generator/digital-clockI want to ammend it so that it displays a differe ...

Compiling assembly language in a VC++ program

Sorry to double post but about a week ago I asked this question (http://www.codeguru.com/forum/showthread.php?t=488347) on the Assembly language forum. Unfortunately, not many people seem to answer (or even ask) questions there. Can anyone offer any help with this problem? ...

Assembly Language Question

I am writing a program in assembly language and need help. I am given two 16 bit integers that represent a candidate and a reference respectively. The object is to see if the candidate and the reference are equal. The 16 bit integer represents eight colors around a square and the graphical represent ...

Impossible assembly language question

Kind folks,I don't know assembly language, but need to get an old app to compile (VC++ 6.0, SP5, MASM 6.11).There are a bunch of "ALIGN 16" statements that throw errors during compile time."error A2189: invalid combination with segment alignment : 16"Not sure what my course of ac ...

Ubuntu Digital Clock

Can anyone recommend a digital clock application? I would like to find one that I can run on the right side of my desktop and be free of any tray or task bar. All I need is a clock, no value added functions are needed. ...

OOPic Microcontroller - Assembly Language Programming

Good Morning All,I am planning on undertaking a project for school and was wondering if anyone could tell me if I am better off using Assembly Language, Java, Basic or C to program my OOpic Microcontroller? ...

Where can i learn about assembly language

where can i learn about assembly language, i want complete tutorials online ...

MIPS64 assembly language

I have begun a new project in MIPS64 assembly language. I wrote MIPS assembly three times previously (and other MIPS CPUs too), but have pretty much forgotten the specifics. But I remember thinking the person who created the instruction set was "thoughtful" in his choices (quite an admissi ...