3,896 Topics
![]() | |
Problem that ask to write an application that fills an array with 50 random integers,loop through the array,displaying each value, and count the number of negative values;after the loop finishes display the count. Note: The Random32 procedure from the Irvine32 library generates random integers. *I honestly don't know where to … | |
Hi people, i have been trying a lot of codes to change a resource of a compiled exe, finally what im using is this: [CODE]using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; using Microsoft.Win32; namespace WindowsFormsApplication1 { static class Program … | |
Hi...I'm having a little problem doing a program in the LC-3. I have to do a program in which I declare a string and then print it backwards. The other part of the program then wants me to count the number of times each letter repeats itself in the string. … | |
Does anyone know how to create ASM code in VS2008? I am so confused and cannot find the method in which I can code in Visual Studio. | |
what r sum applications of very common microprocessors and microcontrollers that uses assembly language as its basic or core language | |
i have to submit my assignment after 4 hours and there are fue things i couldnt understand i wich any can help me to understand.... Given DS = 1234H and the declarations: DATA SEGMENT VAR1 DB βCATβ, 3 DUP(?), 0, β0β, ? VAR2 DD 123ABC4DH DATA ENDS and [COLOR="red"]LEA BX, … | |
Hi guys, Following on from my questions earlier about plugins I've got another stumbling block to get over. I've got an object say "Person". This person has 2 fields - age and name. This lives in the UI project. Now i've got a DLL that implements the following interface: [code] … | |
I am not understanding how to convert a 2d array from c to Mips assembly. Like if you had int array[5][2]={{1,1},{2,2},{3,3},{4,4},{5,5}} how would you convert that to Mips assembly and access it like x=array[i][0] & y=array[i][0]? | |
I was trying to code the assembly line sheduling problem using the dynamic programming approach. I have coded the program but i am facing problem with the 2-dimensional arrays I am using. For testing purpose, I wanted to initialize the array, but I was not able to get it. Moreover, … | |
First of all, yes this is homework. Secondly, I'm pretty much stuck :-/ As an example, say I have a word: 0000 0000 0000 0000 0000 0000 001[COLOR="Red"]0 0011[/COLOR] ; 35 I want to convert it into IEEE 754 using MIPS: 0100 0010 0[COLOR="Red"]000 11[/COLOR]00 0000 0000 0000 0000 ; … | |
Hello, I'm just working on a fibonacci numbers in 8086 assembly. However it is not working as I expected. All I want count from 0 to 100. If anyone knows, please help me, thanks. Here the code I have done so far: [CODE] org 100h mov al,0 mov bl,0 mov … | |
Is it possible to be unable to put two "physical addresses" with a distance of less than 256k in a segment? My assembly professor asked me this. Is this the right answer:"it depends on how you set the align type(BYTE,WORD,PARA,PAGE), if you set it to BYTE the answer is NO … | |
Hi, The website that I have been working on for sometime is about to be deployed now. However, after deployment the reports are not opening in one of the two machines that I have deployed. All other pages seem to be working fine except reports not opening with the error … | |
This is just an example to show what I am attempting to do. It's just a small portion of a larger project I have nearly completed, but am now trying to tie the existing procedures together. I want to pass the value of the variable proc1_var from procedure1 onto the … | |
Dear all, I use MASM611 to compile code assemply. Please hepl me to implement functions to read IO or Memory. I have a Base Address (example: 0xE1004000), i want to read IO or Memory at this address. And is that address a IO Addrress or Memory Address in DOS? And … | |
I am new to assembly so I need help with fixing some things in my code. I need to add three integers and print their sum. The prompt for "Enter the integer" changes color each 3 time it asks the user for entering the number, on a white background. I … | |
Hi, I'm reasonably new to assembly, but now that I have mastered the basics, I would like to start using something a little more fun. Can anyone tell me where I can find a book on Assembly for building GUI interfaces. Because this is nice and low level, I don't … | |
Hello Below is my entire code of a mobile application. The 4th form with the ID "bookDetails" is supposed to be used to retrieve data from a database called butternut3.mbd. I am currently stuck on writing a code in the script part, for a user to search and view details … | |
i want to reserve 4096 bytes in the memory and initialize all with zeros how should i do that? initialize: mov byte[array:di],0 inc di cmp di,4096 jne initialize array: resw 4096 | |
In the name of God ...................................... Hi this is my code . i want to add 2 digits and then print them on screen : what's wrong : [CODE] title myprog .model small .stack .data num1 db 12 num2 db 13 .code start : mov ax,@data mov ds,ax ; data … | |
im trying to read in a string using spaces to separate integers, then display the total of all the seperate integers in the string....Any help would be greatly appreciated [CODE] .data Prompt1: .asciiz "\nPlease enter a list of integers." newline: .asciiz "\n" Buffer: .space 400 .globl main .text main: li … | |
[ATTACH=RIGHT]17677[/ATTACH]Here at DaniWeb, we've talked a lot about [URL="http://www.daniweb.com/reviews/review313227.html"]Intel Parallel Studio[/URL]. I recently had the chance to sit down with Intel's James Reinders, and find out more about his take on [URL="http://software.intel.com/en-us/intel-parallel-studio-home/"]Parallel Studio 2011[/URL]. Mr. Reinders (pronounced Rhine-ders) is a senior engineer at Intel and has been with the company … | |
how to sort numbers and letters ascending? please help me | |
I've done this to play a song that allows you to select instruments. Can anyone tell me why this is hanging? [icode] .data instrumentPrompt:.asciiz "Select instrument (piano,strings,or guitar): " octavePrompt: .asciiz "Select octave (lo,med,or hi): " msg2:.asciiz "\nInvalid instrument" msg3:.asciiz "\nInvalid octave" instrumentspace: .space 20 octavespace: .space 20 instrpiano: .asciiz … | |
I know many assembly languages so my question isn't anything assembly related it's C++ related, I understand what __asm does and I've used it before but where's where I'm hung up on __asm drops down to the assembly level for programming although it's not advisable to use it because it's … | |
[ATTACH=LEFT]17025[/ATTACH]If there are two things I enjoy in life, itβs mob movies and shooting people in video games, so naturally, I was excited to play [I]Mafia 2[/I], the recently released mobster offering from 2K Games. This excitement was soon shot down like Spider in [I]Goodfellas[/I]. You play as Vito, the … | |
I'm starting to learn the Pep/8 simulator. Do you know where i can find some tutorials? Thanks. | |
can someone make the code on this activity II. Procedures: a. Create a program (Save as Act4.asm) that will ask the user to input a 2 digit number. Compute and display the sum of these numbers. Assume that the sum will only yield a single digit (maximum value of 9). … | |
Hi, I am using NASM and I am having a problem finding the correct instruction to capture string (more than one character) data from the keyboard. I can capture int data (read_int) or even one character with get_kb Any help would be appreciated. Thanks | |
hi there. i ve just dwonload NASAM compiler bur couldn able to install it on my sytem as i couldnt find any intall.exe file in it and i'm usig XP home edition [B][I]so anyone could tell me how do i install it if it thru CMD than plz code of … | |
EDIT: Sorry, it is of course Skype4Com. I really appreciate any help I can get, I want to develop a Skype userinterface for dissabled people, it must be a downscaled version of Skype, an easier human interface focused on video connection. I hold a Bachelor degree in electronics Engineering with … | |
I got up this morning and computer was working funny. I rebooted and crypt_20 would not end. I had no idea what this file was. I clicked end program and rebooted. I ran malwarebytes and found 6 or so virus's and/or rootkits. I rebooted and ran again. found 2 nasties … | |
how to declare 1024 nodes of 4 bytes each in assembly language? | |
example: enter name: jayvee i don't know how to initialize arrays and to access them. i also don't know the equivalent of scanf in assembly. please help me. | |
Hello guys, I am basically a .net programmer. I have a project in mind which is on core sound processing. But I want to do it in core language like assembly or c. I need some reference web sites or book names where I can found core format about sound … | |
I am copying one string(source) to another(destination) using movsb in assembly. However, after the instruction movsb is performed, my source string is altered. Why is that? Does movsb alter the content of the source string too? And if movsb really does that, what other instruction can i used to copy … | |
Heyy, I have a bootloader written in assembly language. The code appears fine to me. But the system is not booting form it. It first said bootmgr missing, which i corrected by downloading an existing bootmgr and copying it to the usb. (The usb is bootable.) Now, an error shows … | |
How would you program a assembly code in MIPS where a user would enter a 7 letter long word and it would translate to a phone number. For instance a person would write CALLNOW and the phone number 225-5669 would be the output. | |
Please help me translate this nested for loop to assembly [CODE]for(int i=0, k=0; i<8; i=i+4, k++){ for(int j=i; j<=i+4; j++){ temp[j-(4*k)]=binary[j]; } }[/CODE] | |
Hi Ladies and Gentlemen, Some of you may remember may, while some may not, because I wasn't that famous with you guys. So let me introduce myself before I introduce my problem. That would create a base for you. I am Shikhin Sethi, a 12 year old programmer, with expeience … | |
please help me with my code.. :( i am suppose to enter a 4-digit number and compare it to '0000'. i don't know why my code isn't working. i am not very good in debugging.. please help me [CODE] sseg segment para stack "stack" db 4096 dup(?) sseg ends dseg … | |
her is the file [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Navigation; using VotingPanel2.ServiceReference3; namespace VotingPanel2 { public partial class CreateSurveyForm : Page { public CreateSurveyForm() { InitializeComponent(); VotingPanel2.ServiceReference3.Service3Client client = new VotingPanel2.ServiceReference3.Service3Client(); //VotingPanel2.ServiceReference1.Service3Client … | |
In a scenario that caller doesn't necessarily need callee to use memory of one of its local variables of a primitive type to track that variable later for anything, I know that when passing that variable to a callee function; it'd be done by value and that makes total sense … | |
Hello Everyone. Well, i have really little experience in assembly. So, please excuse me if my question is very trivial. Well, i attended a course on programming the 8086 and we used the MASM assembler, and programming which, we always used this: [CODE] .model small [/CODE] i never understood exactly … | |
Hi, im trying to get the parameters from the command line when the program is executed. I know that the PSP have a DTA and it is stored in the DS:[80h], but i dont know how to save the parameter somewhere and use it before. I think I should use … | |
Hello guys, I want to reverse a string by storing it in some other location but my code is not working can somebody help me? Here is my code: [CODE] org 100h mov bx,0h mov ah,1h readStr: int 21h mov str[bx],al inc bx cmp al,13 jne readStr ;To Print The … | |
Hello all, as i am new to the assenbly language and i only know basics of this languagea and i have to write a code to Read and print an integer value (range -32768 to 32767). Can somebody please help me in this. Note: I am using emu 8086 . | |
I have written two programs that need to use an exe.manifest file, when I attempt to run the either of the applications it says that it cannot start because the application configuration is incorrect. I will post below and hopefully someone knows what to do with it. [CODE] <?xml version="1.0" … | |
Greetings! I was asked to make a 'rename' command using INT 21h/56h by doing the following: 1. Ask the user to enter the file he wants the name to be changed 2. Ask the name of the file that will be used as the new filename. 3. Return error codes … | |
I am new to Microprocessor 8086. i should submit this assignment by monday evening. Can anybody help me with this question? Q1 Write an 8086 assembly language program that will compute: 2.0 * log10 X for x = 0.1, 1.0, 10.0, 100.5, 1000.0, and six other values using a loop. … |
The End.