2,889 Topics
![]() | |
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 … | |
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? | |
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 | |
![]() | 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 … |
[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] | |
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 … | |
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!!! | |
[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] | |
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, … | |
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 … | |
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? … | |
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 … | |
[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 … | |
hi friends, Can anyone help me to install the software in windows xp for writing program in Assembly language. please................... | |
hi, I need the source code for algorithm gaussian recursive elimination method for mips R2000 language assembly. thank you.:'( | |
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 … | |
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 … | |
[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 … | |
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 | |
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 … | |
Hi. I need help getting started with bubble sort in 8085 assembly language!!!! Thank you in advance. -Santhi | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.