2,889 Topics

Member Avatar for
Member Avatar for cool dude

Hello. This is my first time posting and i hope i'm not going against any rules. I got an assignment where i had to translate High level programming language (Turing) to low level language (Assembly). The following was the Turing code: [code=assembly] var x, y : array 1 .. 20 …

Member Avatar for cool dude
0
180
Member Avatar for cjwenigma

I got this question wrong on my final.. Just wanted someone to help me understand it..... Convert the decimal value 99 to hex digits representing the ASCII Characters for the value. i put the letter c.... and i got it wrong.. any help?

Member Avatar for Ancient Dragon
0
83
Member Avatar for kevink

i have managed to hard code data and read and write from a text file. However i now want to modify it so that i can type in the data and store it to a text file.I am using asm and writing code using the emulator in assembly language

Member Avatar for Ancient Dragon
0
75
Member Avatar for amrbekhit

Hi all, I've been trying to understand how an assembler assembles the JMP command. Consider the following code: [code]AGAIN: OUT 0,AL JMP AGAIN[/code] The assembler turns this into the following hex: [code]E6 00 EB FC[/code] The FC at the end corresponds to a displacement of -4. I would have thought …

Member Avatar for Colin Mac
0
184
Member Avatar for jane7887

[COLOR=red]I need help with a program that enables a user to enter a series of numbers, calculates the total, transfers the total to memory and displays the result[/COLOR] [COLOR=red][/COLOR] [COLOR=red].:'( im stuck!![/COLOR] [COLOR=red][/COLOR] [COLOR=#000000]thanks 4 ur help[/COLOR] [COLOR=#000000][/COLOR]

Member Avatar for jane7887
0
69
Member Avatar for hellokitty

so i have to write a procedure that generates a number between two ranges. The upper Range is in ax and the loewr would be in bx. For example if ax contains 10 and bx has 10, then the procedure should generate the number between +10 and -10 i have …

Member Avatar for Salem
0
75
Member Avatar for hellokitty

i NEED HELP DOING THIS CODE BY TOMORROW 4PM SO IF ANYONE CAN PLEASE HELP ME!!:-O <snip> THAT LINK TAKES YOU TOO THE ASSIGNMENT THANK YOU!!!

Member Avatar for jbennet
-1
87
Member Avatar for Saran_57

[COLOR=#000000]Write a program that will input a positive integer and print out the list of its prime factors. Comment on the run time of your algorithm and state any limitations that you have imposed on the input integers[/COLOR]

Member Avatar for mmahima2002
-1
88
Member Avatar for eeeraser

Hi.. This is my fist time, I need your help guys to figure out what is the problem with my code. My program is to show time in this format " TIME:Hours : minute : seconds : Hunderthseconds" , but , the problem is that it didn't show correct numbers, …

Member Avatar for Ancient Dragon
0
164
Member Avatar for choncona1

Hi everyone.I m a newbie in Assembly language. I m now trying to write a PIC16F873a program that calculate the number in fibonnaci array. I have aldready set up the code put the results come out didnt like i thought. Here is my code: Temp EQU 0x20 F1 EQU 0x21 …

Member Avatar for Salem
0
174
Member Avatar for wendy2learn

Hello everyone, I'm a new to this forum, and my post here is to ask for help about assembly language of PIC16F873A. How do I check/compare a value of a particular variable? Let's say, if variable x = 5, then do this... this...this... Is there any way to do this? …

Member Avatar for Albert88
0
66
Member Avatar for gparadox

Hey I am doing a program in palindromes. Don't worry, I dont want any code (I read the sticky). But this is my first semester using it, and my second program. I am having trouble in storing the word from the user. Right now it only stores one character. How …

Member Avatar for gparadox
0
138
Member Avatar for kumar.nitesh

[B][COLOR=#ff0000]Hi, I am having a problem while accessing Assemblies inside my program.[/COLOR][/B] [B][COLOR=red]I have two asssemblies having same name but different version. Both contents the same method, but the method have different functionality.[/COLOR][/B] [B][COLOR=red]Now I want to access both assemblies in turn both method for different functionality inside a single …

Member Avatar for kumar.nitesh
0
162
Member Avatar for jamesbond000

hi friends, Can anyone help me to install the software in windows xp for writing program in Assembly language. please...................

Member Avatar for mathematician
0
74
Member Avatar for maria dolores

hi, I need the source code for algorithm gaussian recursive elimination method for mips R2000 language assembly. thank you.:'(

0
69
Member Avatar for dikky

I'm experiencing the following problems: 1. Microsoft Updates do not install. The last update to successfully install was on 2/14/07. I manually go the Microsoft's web site to do the download/installation. 2. ccApp.exe does end properly when I shut down Windows. Many times I get the program is not responding …

0
93
Member Avatar for eri_car

Hi, i am trying to write an alternative MIPS program the multiplying two given integers 6 and 8 i have already written # Program to multiply 6 by 8 answer = 48 .text main: addi $t1, $0, 6 # store integer 6 in $t1 addi $t2, $0, 8 # store …

Member Avatar for Purple Avenger
0
79
Member Avatar for Zay

[COLOR=darkorchid]Good afternoon;[/COLOR]:) [COLOR=darkred]what is wrong in this code ,[/COLOR] [COLOR=darkred] its job to print a name in reverse order[/COLOR] [code] name dword 20 dup(' '),0 . . . . . mov edx,offset name mov esi,offset name mov ecx,lengthof name L7:mov edx,[esi] call writestring dec esi loop L7 [/code] [COLOR=darkred]when running …

Member Avatar for Zay
0
102
Member Avatar for nasirdaudahmad

i want to right a code to display a blinking z for example if i write an A then i write 0x0741 in this asccii where is blinking bit to be set

Member Avatar for nasirdaudahmad
0
64
Member Avatar for sillyboy

I am trying to use the c compiler in MIPS SDE 5.03. But when I try to compile I get an error. My c file is just hello world at the moment, I'm just trying to get it to compile. Anybody used this before or have any ideas what I …

0
59
Member Avatar for santhi_14u

Hi. I need help getting started with bubble sort in 8085 assembly language!!!! Thank you in advance. -Santhi

0
74
Member Avatar for ahoway

I am working on a program in which you input a number for quarters, nickels, dimes, and pennies. It will then put it in the following output: Enter quarters: 3 Enter Dimes: 12 Enter Nickels: 15 Enter Pennies: 26 The input change amounts to 296 cents, using 56 coins. The …

-1
56
Member Avatar for Zay

Hello; after writing a program in Textpad , i tried to Build using "Build 32-bit MASM" But the black screen disappeared quickly , and no thing there. Now, i want to know if ther is any errors .:?: How can i solve this problem & please, see if this code …

0
58
Member Avatar for NTa_04

hello.. i need help... Make an assembly program that ask 2 input strings. The 1st string is longer that the second one. The program will do the following : -Search how many string pattern that found in the 1st string, example: String1: [COLOR=#0000ff]GCA[/COLOR]TC[COLOR=#0000ff]GCA[/COLOR]GAGAGTATACAGTAC String2: [COLOR=#0000ff]GCA[/COLOR] there are 2 pattern of …

0
60
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
267
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 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

The End.