3,896 Topics

Member Avatar for
Member Avatar for Spardante

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

Member Avatar for MacGyver Orca
0
505
Member Avatar for viivaakash

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

Member Avatar for Purple Avenger
0
698
Member Avatar for Elfshadow

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.

Member Avatar for Evenbit
0
113
Member Avatar for doddy

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 …

Member Avatar for Garni
0
144
Member Avatar for em_moon1981

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];)

Member Avatar for Garni
0
136
Member Avatar for in7en7

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

Member Avatar for in7en7
0
269
Member Avatar for coolone_paul

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.

Member Avatar for joshSCH
0
57
Member Avatar for Atsnipes

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 …

Member Avatar for Atsnipes
0
151
Member Avatar for jack223

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 …

Member Avatar for Day Brown
0
2K
Member Avatar for birdy

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

Member Avatar for Purple Avenger
0
81
Member Avatar for wakeb87

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 …

-1
54
Member Avatar for Zay

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 …

Member Avatar for Evenbit
0
177
Member Avatar for NewKidWalking

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 …

Member Avatar for jbennet
0
146
Member Avatar for uaefame

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); …

Member Avatar for Evenbit
0
96
Member Avatar for mireazma

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?

Member Avatar for Evenbit
0
108
Member Avatar for ajrabbit

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 …

Member Avatar for kaliko
0
5K
Member Avatar for Moizuddin

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 …

0
67
Member Avatar for earlyriser

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

Member Avatar for Day Brown
0
158
Member Avatar for sillyboy

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 …

Member Avatar for Purple Avenger
0
147
Member Avatar for ademzuberi

hi, im new in assembly so if u could tel me witch free assembler and emulators are the best for training. Thanks

Member Avatar for mathematician
0
102
Member Avatar for Nachtdenoir

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 …

Member Avatar for Day Brown
0
73
Member Avatar for assad77

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 …

0
71
Member Avatar for player123

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 …

Member Avatar for player123
0
85
Member Avatar for dani1982

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

Member Avatar for mathematician
0
69
Member Avatar for takkischitt

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

Member Avatar for zunnur
0
186
Member Avatar for hawaii86

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 …

0
70
Member Avatar for ronivek

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 …

0
71
Member Avatar for mikefitz

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

Member Avatar for f1 fan
0
89
Member Avatar for mattyd

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 …

Member Avatar for bootstrap
1
261
Member Avatar for jash00

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 …

Member Avatar for Ancient Dragon
0
130
Member Avatar for husslela2

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

Member Avatar for husslela2
0
116
Member Avatar for husslela2

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 …

0
71
Member Avatar for KimJack

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 …

Member Avatar for KimJack
0
991
Member Avatar for bitbank

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 …

1
68
Member Avatar for bootstrap

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 …

0
88
Member Avatar for brian.p

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

Member Avatar for Purple Avenger
0
9K
Member Avatar for Van12345

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 …

-1
66
Member Avatar for 8ball

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 …

Member Avatar for bitbank
0
250
Member Avatar for RandomRob

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

0
68
Member Avatar for ideas-adv

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 …

Member Avatar for ideas-adv
0
104
Member Avatar for l2u

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 …

Member Avatar for RwCC
0
129
Member Avatar for mikki2

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 …

Member Avatar for happygeek
0
96
Member Avatar for skeet123

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

0
54
Member Avatar for brale
Member Avatar for harry5341
0
71
Member Avatar for beuls

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 …

Member Avatar for beuls
0
217
Member Avatar for brianbk

:) 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 …

Member Avatar for mathematician
0
91
Member Avatar for ajrabbit

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

Member Avatar for mathematician
0
95
Member Avatar for pok555

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 …

Member Avatar for Lazaro Claiborn
0
103
Member Avatar for scru

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 …

Member Avatar for RwCC
0
131
Member Avatar for asabri

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

0
66

The End.