2,878 Topics

Member Avatar for
Member Avatar for Zarathu

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 …

Member Avatar for Ancient Dragon
-1
265
Member Avatar for FC Jamison

How would one construct a Hamming code that can correct up to 4 bit errors in the resulting code words?

0
79
Member Avatar for nineball_ssj9

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 …

Member Avatar for nineball_ssj9
0
96
Member Avatar for moon309

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

Member Avatar for Salem
0
62
Member Avatar for eeeraser

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 …

Member Avatar for eeeraser
0
3K
Member Avatar for Assemblyn00b

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

Member Avatar for Assemblyn00b
0
157
Member Avatar for Eleventeen

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 …

Member Avatar for Eleventeen
0
457
Member Avatar for Kenzero

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 …

Member Avatar for Metsfan147
0
114
Member Avatar for eeeraser

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 …

Member Avatar for Salem
0
292
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
179
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
79
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
73
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
169
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
66
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
71
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
84
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
85
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
159
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
171
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
64
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
131
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
157
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
71
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
66
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
90
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
77
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
101
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
62
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
55
Member Avatar for santhi_14u

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

0
71

The End.