3,896 Topics

Member Avatar for
Member Avatar for Desi991
Member Avatar for pgcoder
0
1K
Member Avatar for Thermalnuke

Hey I need some help with this question Write a function in LC-2200 assembly language to compute pow(n, m), that is, n raised to the mth power. (For Example, pow(2, 4) should return 16. but my function has to be recursive. thanks

0
83
Member Avatar for WithnoMute

Hey, i am learning from Programming from the ground up. I am having a bit of trouble with the pushl and popl commands. I'm a newbie with ASM and really just starting out on it, i am on a x86-64 im presuming it will run the x86 32bit code. I …

Member Avatar for jmarbas
0
835
Member Avatar for johnpaul22

Choose in the following to make a ASSEMBLY LANGUAGE PROGRAM in EMU8086 .. Analyze and make a program on the ff. problms. 1. Given is based on the given average and their assign grade a. If average is greater than or equal to 90, assign remarks is outstanding. b. If …

-1
181
Member Avatar for johnpaul22

Help me plz... I need it BADLY.. And ASAP ... :( This for emu8086 ... 1. Given is based on the given average and their assign grade a. If average is greater than or equal to 90, assign remarks is "outstanding". b. If not, if average is greater than or …

Member Avatar for thines01
0
212
Member Avatar for txhornsfan

I am having some problems with my "sum of numbers program," and cannot figure out why I am not getting the correct answers. This is my first Assembly programming class, so take it easy on me, please. The assignment is: Prompt a user for an integer n, compute the sum …

Member Avatar for txhornsfan
0
4K
Member Avatar for remusogarius

Hi all, Ive searched all of the web to help me, and Ive asked various people. Ive got a binary search tree program to write in MIPS, but I really have no idea where to start. Ive got the program in C++, but I dont have linux to attempt to …

Member Avatar for gingy
0
3K
Member Avatar for valox

//int main(){ //char8 au8_X1[6]={0x91,0xD4,0x80,0x70,0x81,0x20}; //char8 au8_X2[6]={0x6E,0x2A,0xF5,0X8C,0x7A,0xF8}; //i8vec_add(char8* pi8_a, char8* pi8_b, uint8 u8_cnt) // This subroutine adds the contents of two integer arrays // The number of elements to add given by cnt #include "pic24_all.h" #include <stdio.h> void i16vec_add(int16* pi16_a, int16* pi16_b, uint8 u8_cnt) { while (u8_cnt != 0) { //do …

Member Avatar for valox
0
131
Member Avatar for Thermalnuke

Given the following instructions ADD Rx,Ry,Rz ;Rx <- Ry + Rz ADDI Rx,Ry,Imm ;Rx <- Ry + Immediate Value NAND Rx,Ry,Rz ;Rx <- NOT (Ry AND Rz) Show how you can use the above instructions to achieve the effect of the following: CLR Rx ;Rx <- 0 I am a …

0
134
Member Avatar for vjnguyenv

I have been working on this problem for days. The object is to add two numbers from user input and display the answer in 32bit. So far I've got the messages to display and accept user input, but I'm getting a segmentation fault which happens after "Total Sum is: ", …

0
74
Member Avatar for Labdabeta

A friend of mine recently asked me to help debug some code. I looked through it and it was riddled all over with goto statements. I know why he uses them (he used to program mainly in assembly and batch) and I tried to explain why he should try to …

Member Avatar for Labdabeta
0
421
Member Avatar for chandharrcs

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 …

0
141
Member Avatar for GimmeClassic

I'm new to .NET and having a difficult time deciphering when to use namespaces and where to place "using" clauses. For this one project, I'm trying to develop a .NET page within a web application that has 99% of the pages written in Classic ASP. I started by creating a …

Member Avatar for hericles
0
258
Member Avatar for Sravanthi Ch

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 …

Member Avatar for thines01
0
153
Member Avatar for Sravanthi Ch

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 …

Member Avatar for thines01
0
134
Member Avatar for sagngh8

Hi everyone, Please help me on this. “Could not load file or assembly 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”. 'NewtonsoftJson.dll’ assembly is required for posting to twitter .The version used is 4.0.3.0. …

Member Avatar for Momerath
0
434
Member Avatar for huh

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 …

Member Avatar for thines01
0
97
Member Avatar for JanineXD

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 …

0
72
Member Avatar for UtaChan

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 …

0
101
Member Avatar for Lucaci Andrew

So, what is my deal... I'm working on a script, which, at some point will require the user to insert his or hers username and a password. My question is, how can I make that when the user will write in the password box/line whatever, instead of its characters, to …

Member Avatar for Lucaci Andrew
0
180
Member Avatar for pirateph

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 …

0
63
Member Avatar for roseannes

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, …

0
62
Member Avatar for Ryujin

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 …

Member Avatar for Ryujin
0
315
Member Avatar for zEuSsE

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 …

Member Avatar for zEuSsE
0
334
Member Avatar for jumbowat

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.

0
106
Member Avatar for kww228

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 …

Member Avatar for zalia64
0
179
Member Avatar for pixelss

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 …

Member Avatar for zalia64
0
478
Member Avatar for silvercats
Member Avatar for zalia64
0
77
Member Avatar for zalia64

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

0
64
Member Avatar for stereomatching

I discover a performance pitfall of vc2010, I compile it by release mode(O2).The results are pretty unacceptable at the first time. [code] #include<ctime> #include<iostream> /* * This is a small performance pitfall I discover from vc2010, * for simplicity, I didn't separate the header file and source file. * At …

Member Avatar for stereomatching
0
171
Member Avatar for Labdabeta

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 …

Member Avatar for gerard4143
0
1K
Member Avatar for mikey1234

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.

Member Avatar for thines01
0
75
Member Avatar for jdelgado08

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 …

Member Avatar for jdelgado08
0
1K
Member Avatar for andr.dimitris

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 …

0
75
Member Avatar for Desi991

[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 …

0
101
Member Avatar for zios007

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 …

0
73
Member Avatar for student_learner

suppose that i write a program in turbo c: Q1.) the operating system program is in RAM.(yes or no?) Q2.) the turbo c application is in RAM. (yes or no?) suppose that i have written this simple code: [code] #include <stdio.h> #include<conio.h> void main() { clrscr(); int a=2,b=3,c; c=a+b*3; printf("%d",c); …

Member Avatar for rubberman
0
333
Member Avatar for SeniorAlexandro

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.

Member Avatar for SeniorAlexandro
0
139
Member Avatar for vio90

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 …

0
82
Member Avatar for angah

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 & …

Member Avatar for angah
0
246
Member Avatar for JefferyWeb

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]

Member Avatar for thines01
0
171
Member Avatar for wasiqjaved

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 …

Member Avatar for DeanMSands3
0
555
Member Avatar for silvercats

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)

0
62
Member Avatar for silvercats

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 …

0
52
Member Avatar for anders10

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 …

Member Avatar for angah
0
376
Member Avatar for silent.saqi

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data.Sql; using System.Data; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; namespace test { public partial class WebForm1 : System.Web.UI.Page { string username; string fname; protected void submit_Click(object sender, EventArgs e) { username = nametxtbox.Text; fname = fnametxtbox.Text; CrystalReport1 …

Member Avatar for silent.saqi
0
228
Member Avatar for Thermalnuke

can someone explain to me how to convert for example g = h + A[i] into an LC-2200 assembler?????

Member Avatar for Thermalnuke
0
69
Member Avatar for WolfShield

Okay, I have been thinking about writing a GUI toolkit recently, and after doing some searching on the web, I haven't found much on it it's self. But I believe I have the basic idea down, and I was wondering if you guys who maybe know about this could let …

Member Avatar for WolfShield
0
489
Member Avatar for ofelia

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

Member Avatar for Jamshad
0
645
Member Avatar for dedmon

I kind of lost here... I have the book but it does not show the loop... I want to use je 100 but this is not the same language Using the IAS computer instruction set to write a program for the following C(I)=A(I) + B(I) for I = 1,2,... 100 …

0
57

The End.