2,878 Topics
| |
This is my code: [code][BITS 32] .section text global start start: xor edx, edx ; Avoids NULL byte push edx ; MsgBox type push edx ; MsgBox body push edx ; MsgBox caption push edx ; Owner hWnd mov eax, 0x7E45058A ; Addr of MessageBox, USER32 should be loaded call … | |
How would one construct a Hamming code that can correct up to 4 bit errors in the resulting code words? | |
I need to Write, assemble, and test a program that reads 2 integers [B]n[/B] and [B]m[/B] from the keyboard and than calculates the sum of all "divisible by 4" numbers from the range [n,m]. [I]This exercise requires usage of subroutine. Calculate sum in the main procedure; Check if the number … | |
hi to all readers; i want help in mips assably language , in making programe that sort 20 numbers ; by using bubble sorting technique. regrads farrukh | |
Hi guys again, If I have an infinite loop for example: [code] MOV CX, 240 MOV DX, 320 HERE: MOV AH, 2CH INT 21H CMP DH, 1 JE DOT MOV AX, 0C00H INT 10H DOT: MOV AX, 0C04H INT 10H JMP HERE [/code] In the example I have an infinite … | |
Basically I have to take in N and bring it to power of K so N^K i have the c++ i have the basic assembly but something is wrong the math doesn't come out right .386p .model flat .code _func proc near push ebp mov ebp, esp mov eax, [ebp+12] … | |
Hey, I'm new here and I need a bit of help with the LC-3 Assembly language. Basically I need to write a program which takes a string and only displays the uppercase characters in it. So for example, I give it the string "This is a Sample String", it prints … | |
T=Φ while((T contains less than n - 1 edges) && (E not empty)) { choose an edge (v,w) from E of lowest cost; delete (v,w) from E; if ((v,w) does not create a cycle in T) add (v,w) to T; else discard (v,w); } if (T contains fewer than n-1 … | |
hi again .. Does anybody have any idea how could I draw a line between two points using assembly language? e.g. if you have the first point DX1, CX1 and DX2, CX2... I wanna draw a line between them, simply, I wanna program that I give him two points and … | |
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 |
The End.