3,896 Topics
![]() | |
Hi. I'm having trouble with a program I am writing in MIPS. This is an assignment, so I'll understand if no one helps. The program has two recursive functions: Power and Multiply. The basic algorithms for each are: [code] int Power(int base, int expon) { if(expon == 0) return 1; … | |
Can anybody help me out and tell me that in which microprocessor 8086 or 8088, a far procedure call executes faster and with reasons Plz help me as early as possible | |
Between NASM and FASM which one would you pick? And I pretty new to ASM but I think the Intel style looks better so I think that rules GNU out unless they have a Intel version syntax. | |
Hi, I am new to programming for the most part except matlab, html, javascript, actionscript, etc. I am trying to learn how to assemble/dissassemble files. I have several assemply/dis. programs: nasmw/ndisasmw, flat assembler, pedasm, etc... I can't figure out how to assemble the hello world program. here is an example … | |
hi every body is there any body 2 help me to create a boot disk with assembly help me plz send ur comment 4 me 2 my email : [email]em_moon1981@yahoo.com[/email];) | |
Hello, I'm having some problems getting int21 function 9 working correctly. I've searched around a little bit, but I seem to be missing something still because no matter what I change it doesn't seem to display what I'd like it to. It seems to me that it should look like: … | |
can any plz help me since this assig is due next two days and i am i dire need pls help Write an assembly language program that accepts a numerical base ten input from a user then displays the numbers equivalent in bases two to sixteen. | |
Hi, I need to write a program in the LC-3 assembly language to convert hex to dec. Here are the exact guidelines: "Your program begins at x3000. Beginning at x4000 is a list of any length of positive numbers, terminated with a -1. Your program must display each number in … | |
sorry, i don't know which forum i should post this question. Q) a machine language program to input 2 numbers then adds 2 numbers then output the single-character result. this is what i got so far but it doesn't work..any help plz~~ [code] 0000 4900FE ;Get input from the user … | |
Hi guys, im currently programming in 16bit dos for my class.. Is there a better technique (as to saving space/memory) to writing what i have down here, or that is the best it will get? [code] mov dx, ' ' int 21h mov dx, '|' int 21h mov dx, ' … | |
I'm trying to gain a better understanding for the input and output or "read/echo" in LC-3 assembly language. I was looking at some examples in the back of my book to try and understand it better, however i've just ended up confused. What i'm trying to do is prompt a … | |
Hello; can any one help me to know how to check that my code is corrsct in Textpad ? there is no output like C++ ;so it make proplem fpr me . this is the code : [code];Assi#1 .model small .stack 100h .data F1 sword 12 dup(12,4,7,-8,1,10,8,-4,20,44,3,-9) F2 sword 12 … | |
Hi, I just registered with this forum a few minutes ago after stuffing my face into a collection of my fathers books, and the netbeans IDE, praticing what I was exposing myself to. THe past couple of months have been an intensive undergoing, pickin gup after an introduction(java), established back … | |
I am using HLA to learn assembly. I choosen HLA because of different reason. Main topic: I try to do a HLA script using try..exception..endtry statement but i have error... can u tell me where i mixed up[CODE] program driver; #include("stdlib.hhf"); #include("excepts.hhf"); static goodinteger: int32; i:int32; begin driver; repeat mov(false,goodinteger); … | |
I've heard that executables may be compressed (unless encrypted) with certain routins. Who could tell me a file expander tool to remove the compression envelope from exe's? | |
does anyone know how to convert an integer (3) to floating point single (3.0) ? it tried this but got an error bc of the $t3 cvt.w.s $f4, $f4, $t3 i have a value stored in $t3 register and need to move it from there to a fp register like … | |
Can anyone please suggest or guide me to complete this project as I am newly learning the assembly code. Our objective is the design of a pipelined processor capable of running an assembly-language program on the basis of a subset of the MIPS64 instruction set. The subset consisting of 44 … | |
Hello!. First, I don't want you do my homework. The hw consists in take a char chaine and convert it to a number usign macros. For example the chaine 56 in the number 56. We have a program provided by our instructor which in theory does the same without macros. … | |
Hi all, I am after a instruction set with limited or no floating-point instructions. Why I want this is to get a compiler of this certain architecture and compile code (one with floating-point and the other without). With the resulting assembly I wanted to compare the two and do some … | |
hi, im new in assembly so if u could tel me witch free assembler and emulators are the best for training. Thanks | |
I am very new to Assembly language, I have some knowledge of C/C++ but am very much lsot when it comes to Assembly. i absically want to just write a simple program which converts standard daylight savings time into military time, im aware that this is a simple taks but … | |
i want to draw all ascii chars and their corresponding values in dec and hex using a three colomned table, each colomn for one type of chars. if possible i would love to display each colomn in a different color. this is my code so far. .MODEL SMALL .STACK 100h … | |
hi there! i cant figure out how i could program a little function in assembly using the PCSPIM environment. the function i want to program with recursion is: func(n) = func(n-1) + (n-1) this is similiar to the fibonnaci function which is: fib(n) = fib(n-1) + fib(n-2) and the code … | |
Question... I'm installing windows 98 on a dell inspiron 8000 laptop. I just installed it and entered in the product code that I have and it gives me msgsrv32 and must abort. I cannot get past this and don't know what else to do...help anyone please | |
hello... I'm looking for a calculator program written in assembler... it needs to do all the basic functions of a calculator eg add, subract, multiply, devide... if anyone can point me in the right direction of where to find one it would be greatly apprecitaed...! thanx... neil... | |
Hi, every one MIPS assembly language program to do single-precision floating-point multiplication in software rather than in hardware. The procedure float_multiply should receive its input parameters in $a0 and $a1 (as single-precision floating-point numbers) and produce its result in $v0 (as single-precision float). You cannot use the floating-point multiply instruction … | |
Hi there, I'm currently coding an assembly calculator program to run on an MC68332. I'm doing most of the work on a 68000 emulator for the time being until I have everything as I want it. The program is fairly straightforward; I'll give a quick walkthrough below. User enters a … | |
Hi, I'm using Visual Studio 2005 with C#. When I Build the solution, the .dll assembly file is not being created in the \bin folder. Does anyone know why the assembly file is not being created, and/or if it's being created in another folder other than the \bin folder. Thanks, … | |
Hello: I am a programmer. I work professionally primarily in C, C++. Most personal programming projects I do is in either C++ or Python. I am studying Java and Ruby currently. My quetion is: How valid do you find Assembly language in a modern sense, professionally or otherwise? I ask … | |
hi my friends. I need your help, I have to solve these three problems ASAP. Please help me with this: [U][B]1)###########################################[/B][/U] [COLOR=#000000]For a set of numbers read into an integer array (arr1) populate another array (arr2) with A*x2 + B*x + c, where A, B, and C are integer constants … | |
I need to create a Two-Dimensional Array in "row major"order and add up the elements of the row and return the sum in $v0. I know how to set up the data, i just don't know how to manipulate it to get the sum. And I cannot overflow the registers. … | |
I want to create a list, with about oh say, 8 or 9 elements.. I want to create a new node at the beginning, insert one in the middle somewhere, and then add one at the end. I don't know how to initialize this. I know how to build a … | |
Hi all, I am hoping that you could help me with this. I am working with assembly language 8086. I am trying to put integers into an array one at a time after a prompt. Something like this: Please input an integer: 6 Please input an integer: 1 Please input … | |
It's disappointing to see so many requests from students who come here looking for a free lunch. As a university student, you have plenty of time and resources to do your own homework. You would probably elicit many more positive responses from the resident experts if you at least made … | |
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 admission for someone … | |
[code] ; Description: Program to input a character and then output it to the screen ; Registers used: ax, dx .model small .stack 100h .data .code mov ah, 02h ; DOS function call 2, character output mov dl, 41h ; the character 041h (i.e.'A') mov cx, 26 ; start the … | |
I need a few lines PIC16F84A codes to turn a LED on for 5 minutes, assume Port A0 is an input SW and Port B0 is an output. LED only on for 5 mins when the sw is pressed and stop until the sw is press again. Please see the … | |
I need to create a little assembly app for arm cpu which reads two 32 bit numbers from the address which register r0 points out. Then it compares absolute value of those two numbers and puts them back to those same addresses the way there's number which absolute value is … | |
[COLOR=blue]Hello.[/COLOR] [COLOR=blue]For my assignments for uni, i have to create a program which will provide a answered based on the question answered using emu 8086 emmulator.[/COLOR] [COLOR=blue]so a question is provided, and based on you replying with yes, or no, a text answer is then provided.[/COLOR] [COLOR=blue][/COLOR] [COLOR=blue]eg. You feeling … | |
Develop a[COLOR=red] C program[/COLOR] that has a structure for a list of students that has the array of students and the number of students. The structure for each[COLOR=red] student[/COLOR] consists of [COLOR=blue]ID number, name, GPA, number of courses, and a list of courses[/COLOR]. The structure for each [COLOR=red]course[/COLOR] consists of … | |
Hello.. Im in urgent net to compile some Libary Management System written in .NET. The code seems very good, but I'm facing some problems I cannot solve/figure out myself, because I dont have any experience with .NET. It seems like DataSets (classes) wont be included in FORMViewer.cs - I tried … | |
hi, i just started a class called Compiler Principles, and i'm not really sure how to search for online notes about it. my searches usually give me pages with Compiler Construction or Assembly Language. the book i'm using is a pdf i accidentally downloaded months ago when i was looking … | |
I am having trouble trying to get this machine language program to work with pep/8. Write a machine language program to input two one-digit numbers from the user, add them, and output the one-digit sum. Beacuse this program is at the machine language level you only should use character input, … | |
How to initialise rs232 serial port and send a byte in assembler language? | |
Hi everyone, I was trying to load an assembly during runtime from a remote application server using the web configuration file in C#. I created a dll eg. RemoteLib.dll. Then i developed a windows application that uses this dll. eg. testApp. I added a config file "testapp.exe.config" that contained the … | |
:) hi guys and family members of daniweb. i am doing computer system. I like to work you guys, my difficulty is based on digital systems using 8051,microprocessor 8086. i love to build projects using 8051 but my is obstacle are programming site. previous weeks ago i was having difficulty … | |
Does anyone know how I can read in a stored floating point number and convert it into a decimal/string format and then output it? I'm trying to mimic the floating point output bit of 2 but instead I need to use the string output form. Example: Fpnum: .float 3.14159 Start: … | |
hello everybody! i'm not good in english. i have a problem with assembly language. my teacher not teach me anything but he give me a homework. if i miss this homework ,i will fail in examination. i want someone to help. i want code in assembly language( file.asm ) code … | |
Is there anything wrong with this code? [code=C#] namespace RotnetSudoku { public partial class splash : Form { public splash() { InitializeComponent(); fclsStartScreen frmStartscreen = new fclsStartScreen(); frmStartscreen.Show(); this.Visible = false; } } } [/code] Apart from the indentation? When i run it ithe splash form doesn't close...Also, if i … | |
1-write an MIPS64 program to convert the two hex digit stored in location 0700H to two ASCII digits and store in locations 0701H(MSD).FOR EXAMPLE IF 0700H=A4H THEN 0701H=34 AND 0702H=41H I really appreciate your help thank you |
The End.