2,888 Topics
| |
I am a beginner.I have installed IAR Embedded Workbench "IAR-EW430-4201". Installation was successful. Now, I have started using it by creating a project and included msp430f449.h header file in my code. And When I rebuild the solution/project I get an error saying 'msp430f449.h failed to include' and tried to locate … | |
Hello, After updating my code from Visual Studio 2005 to Visual Studio 2010 I am getting the error while compiling "Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information" I have tried making the change <startup … | |
I use nasm. Say I want to have a loop and each loop add something to a buffer, here is the buffer: [CODE]buf: times 0ffh db 0[/CODE] Here is the loop the loop: [CODE] xor al, al mov edi, buf theloop: cmp al, 0ffh je done inc al ; add … | |
I've been searching for the solution for days already but found none except this as a starting point: [url]http://www.emu8086.com/assembler_source_code/calc.asm.html[/url] (See how the calc.asm backspaces the digits when it exceeds to the limit) So I needed to fix this working code (I'm using 8086 assembler btw): [CODE]TITLE "program 9" .MODEL SMALL … | |
I had to write a program that finds out whether a matrix is Skew-symmetric matrix or not...well my code is a disaster I seek help in this matter. In which way can I write this code to make it eficient,short and smart? this is my code (yet again it;s a … | |
hi everyone...i need help in this code regarding the output.....the output is letter but it should be number.....here the code .model small .stack .data msg1 db "Enter 2 numbers:", "$" first db "The sum is:","$" second db "The difference is:","$" menuA db "[A] Addition","$" menuB db "[S] Subtraction","$" choice db … | |
I am new at assembly language and confused about bottom tests. how can I speed up this loop ? Speed up this loop, by making it bottom-tested, without modifying its execution results: [CODE] add $t0, $zero, $zero addi $t1, $zero, 10 Top: beq $t0, $t1, Continue {loop body} addi $t0, … | |
We're looking for a way to enable users to send us a file using one of our web pages. Cannot use MailAttachment because page doesn't have rights to write files to a directory (we can't change that) so are trying a Google Data API to upload to our Google Docs … | |
Hi all! I'm using mac os X (intel core duo 2) and I'm quite new in assembly coding. I've got this problem: I'd like to read a file in USB memory using assembly. Does anybody know how is it possible? And more in general can you give me some links … | |
Hi everyone, I am using a LCD from Sitronix ST7920. This LCD comes with some self-defined symbols, I want to know how can I retrieve the self-defined symbols from the LCD. | |
Just as the title says I have a question with a program I am doing. I am just starting out using MASM assembly and kind of stuck any help would be great. I need to calculate the sums and differences of arrays that are shown below. The little bit of … | |
Hello, i'm having problem with this code, the program have to multiply 3 number and provide the result. But i always get zero for the final result [CODE] ORG 100 input A store A output A input B store B output B input C store C output C loop, load … | |
2.Because a segment only has 65,635 bytes,we have to contain a 1MB file in many segments,right? | |
I need to synchronize "Real-World" with a Window process. That is, the Windows operates a camera and shoot an image every xx milli-seconds, using a very accurate timer. In order to synchronise those images with the outside world, I want to time-stamp when some trigger happens and causes an interrupt. … | |
How do I do assembly code with the mingw-g++ compiler. All the websites I checked say that this should work: [CODE]int add(int a, int b) { int c=0; asm("mov %[aVal],%eax;add %[bVal],%eax;mov %eax,%[cVal]" : [cVal] "=i" (c) : [bVal] "i" (b) : [aVal] "i" (a)); return c; }[/CODE] But instead I … | |
i want to download windows 3.1 it must be in .IMG format to dd to a usb card in linux for my pc. i want to run old software. | |
Hey guys, I'm fairly new to assembly & i'm having trouble iterating through an array; i.e. increasing the index as I loop. I'm working under x86-64 in Linux using NASM. There doesn't seem to be much documentation on the 64-bit architecture. Also, the book i'm using seems to code all … | |
I want to do task switching using two tasks while i have booted from usb drive. The first switch takes place but the second one does not happen. Any ideas why? the code is below. The routine which does the task switching is at label sched. [ICODE]org 100h jmp start … | |
[B]MASM Assembly[/B] [CODE] TITLE Palindrome Checker (main.asm) 002 003 ; 004 ; 005 ; 006 007 INCLUDE Irvine32.inc 008 START = 128 009 010 .data 011 strPrompt BYTE "Please enter a string of Integers: ",0 012 strMsg BYTE "Original String of Integers: ",0;dh, 0ah 013 revMsg BYTE "Reversed String: ",0 … | |
| I need to put the number of cycles for each assembly instruction in the comment field and then calculate the total number of cycles for the entire 10 second timing interval. Need to calculate the processor clock frequency (MCLK) by dividing the total number of cycles per interval by the … |
| I recently added hsProgressbar.dll to my Program, it worked fine, but then I decided to remove it from my Computer and also remove it from the references...however..the Warning is still there? How can I completely remove it, so that I don't get the error anymore? Thanks in advance. |
Constructing a MIPS code programme that reads the keyboard input of 8-bit binary number in ASCII where the only input is 0 or 1. The code should convert the string you have read in, into a numeric value. When a string is read in, it is stored as a numeric … | |
i have this coding...when i burn into pic it does not work...anyone can help me to solve this coding...this is urgent case..need help. ;************************************************************************ ; Digital Thermometer * ; * ;************************************************************************ list p=16f84A #include <p16f684A.inc> __CONFIG _CP_OFF & _DATA_CP_OFF & _LVP_OFF & _BOREN_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & … | |
What does it means when a variable or label has brackets around it? How is it different than using the statement without brackets? For example: mov eax, [data] | |
Hi, Need some help with MIPS I need to write a MIPS code that reads 10 characters string and then only print out value of 3rd, 5th and 7th character (remembering that first character is character 0) OUTPUT (should be somewhat like this): Enter 10 character string : i love … | |
Those are the two best books as people say. Art of assembly teaches High level assembly while others doesn't say anything . Which book is better and why?(for a beginner) | |
I like to write programs for Windows in Assembly .I am currently reading Assembly Language Step-by-Step by jeff duntmann 2n edition which was published in 2000 . 1.Is that ok(the year 2000)? <<< (it has both DOS an Linux. I read DOS part) I've found a new book (3rd edition(published … | |
Hi! I'm new to assembly coding and I have an assignment in Intel/AMD where I'm supposed to code a file that consists of different subroutines and another file that produces the code to take care of. But first, as a start, I think I have to start with small pieces … | |
can someone explain to me how to convert for example g = h + A[i] into an LC-2200 assembler????? | |
Hi, i need a source code in assembly that make paint imvironment such as windows paint...not so profetionally like that...just when i drag a shape such as rectangle and drop this, draw a big rectangle. i want execute this code in c ... thanks ... |
The End.