Member Avatar
I am trying to complete an assignment using stacks and I need a little guidance. My task is to make an array of 6 values and pass it to VIA stack to a subroutine where I need to increment through it and pass each value of the array to another …
by toxicandy 2 in Software Development ()
Member Avatar
can i ask something whats the used of [B].org 100h[/B] in assembly language..., and why it is 100h why can/t it be 60,70,80 or 90h? tnx :)
by darren110690 in Software Development ()
Member Avatar
Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: http://www.daniweb.com/software-development/cpp/threads/242338 My situation is a bit different because I HAVE to use a combination of functions and a class in the …
by Tom_15 in Software Development ()
Member Avatar
I need help getting my neighborcount function to work correctly, as follows neighborCount:Given two arguments that indicate the row and column of a particular cell in the matrix, this function returns the number of neighbors that have the value "true". Most positions in the grid have 8 neighbors like the …
by Tom_15 in Software Development ()
Member Avatar
I have a tough time trying to break what's in here: #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int main () { float grade; string name; cout << " Please input your name: " << endl; getline(cin,name); cout << " Please input your grade: " << endl; cin …
by One-up in Programming ()
Member Avatar
Given the following C code: `B[8] = A[i - j]` Assuming B = $s7, A = $s6, i = $s3 and j = $s4 What would the assembly code be? sub $s3, $s3, $s4 # i - j sll $s3, $s3, 2 # multiply the offset by 4 add $s3, …
by brunoccs in Software Development ()
Member Avatar
Is there a good utility to fix .pst files?
by patricksss in Programming ()
Member Avatar
Hi everyone, i'm trying to code a Clock with 2 7segment (commun anode) with 8051 microcontroller in assembly language. i use only two 7 segment led because i want just minutes and secondes for hours i will see later. So i tried to code and when i run it, it's …
by Neversleepin in Software Development ()
Member Avatar
TITLE JIMMY .MODEL SMALL .STACK 100 .DATA NUMERO1 DB(?) NUMERO2 DB(?) NEGAT DB "-$" POSITIVO DB "+$" NEGA DB(?) MOLTIPLICAZIONE DB(?) DIVISIONE DB(?) SOMMA DB(?) SOTTRAZIONE DB(?) UNITA DB(?) DECINE DB(?) SCRITTURA1 DB "IMMETTI I DUE NUMERI $" SCRITTURA2 DB "IL RISULTATO DELLA MOLTIPLICAZIONE E $" SCRITTURA3 DB "IL RISULTATO …
by MiniScotch -2 in Programming ()
Member Avatar
I have some data in varbinary(max) from database and I have exported it to physical files. Some of these files were in jpeg so I was able to just add an extension .jpg to it and it opened. The rest are not jpeg files. **I have tried almost all the …
by Haider85 in Programming ()
Member Avatar
Hi guys, I wonder if you can help me at all. As some of you will know I do a bit of java development here and there but unfortunately I don't really have any programming background, like, I haven't studied computer science - I just learned (well, that's an overstatement) …
by Violet_82 35 in Software Development ()
Member Avatar
Hi guys help this newbie out. My code which uses midpoint circle algorithm to draw the circle and seeking algorithm (steering behaviour) to move the circle towards a position. However the circle is not being drawn and the seeking algorithm i believe is flawed. Please review this and tell me …
by claire_1 in Programming ()
Member Avatar
I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …
by Haider85 in Software Development ()
Member Avatar
I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …
by Haider85 in Software Development ()
Member Avatar
Given a typed List collection of int values named dueDays that has already been sorted, write the code to retrieve the index of the element with the value 30 and store the result in an int variable named dayIndex. Given a typed List collection of int values named dueDays that …
by Kyungwon in Software Development ()
Member Avatar
Hi Iam a student , nd i have a home work Can any one help me !! Plz Write an asm 8086 language program that take 2 strings as input and computes the string distance between the 2 ,,, the string distance between 2 string os the sum of the …
by Kinda_1 in Programming ()
Member Avatar
;I am using: ;gcc (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 ;g++ (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 ;I keep getting the following error: ;ch4p5.s:13: error: parser: instruction expected ;ch4p5.s:15: error: parser: instruction expected ;How do I fix it? ;Here is what I have: %include "macros_windows64.s" .MODEL SMALL .STACK 100H @DATA: PROMPT_1 db 'Enter the hexadecimal number …
by jodytj in Programming ()
Member Avatar
I'm running xp pro with outlook express version 6. When I receive emails in the inbox and choose to delete them they just stay there. I can shift delete but just delete does nothing. When I right click and go delete that also doesn't work. Can you please assist. Thanks.
by LenardJoseph in Programming ()
Member Avatar
was the right assemply code for ATM MACHINE ? need your help , ASAP ! :D thank you ^^
by naughty24 in Software Development ()
Member Avatar
**I'm having difficulty translating C code that loops through an array of grades. The C code is as follows:** int A, B, C, D, F; // declare grade counters int i; // declare loop counter int N ; // Number of scores to analyze A=0; B=0; C=0; D=0; F=0; // …
by Kunyepa in Programming ()
Member Avatar
Write a Pentium assembly language program that will convert a BCD number in AL to a seven-segment code using a look-up table containing the seven-segment codes of the BCD numbers. Use a common-cathode display. Assume that the table is stored in memory starting at offset 2000H. Use the XLAT instruction. …
by Musab_1 in Software Development ()
Member Avatar
Hi I am working on windows services. i can bale to run the service for every 1 min. I creating multi thread. but i required the service to run in single thread. can any one please help me to fix my issue. **Code** using System; using System.Collections.Generic; using System.ComponentModel; using …
by rpv_sen 59 in Software Development ()
Member Avatar
Hello, I've just begun working with assembly so I'm sorry if this question is simplistic. I would like to implement an atomic add (for incrementing an array pointer). My code looks like this: int * ptr; int step; asm("lock add %1, %2;\n" :"=m"(ptr) :"m"(ptr),"r"(step) : ); But I'm getting an …
by dmanw100 36 in Software Development ()
Member Avatar
.MODEL SMALL .STACK 50H .DATA NL DB 0DH, 0AH, '$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV CX, 5 MOV BX, 1 FOR_1: PUSH CX MOV DL, 20H MOV AH, 2 FOR_2: INT 21H LOOP FOR_2 MOV CX, BX FOR_3: MOV DL, '*' MOV AH, 2 INT …
by Üzåír in Software Development ()
Member Avatar
*how program to display this triangle??? >_<* > ***** > **** > *** > ** > * > * > ** > *** > **** > ***** (just the triangle..)
by fuyulight in Software Development ()
Member Avatar
middle c on a piano hase frequence of 261.63Hz bit 5 of input address 2000H is connected to an amlifer which driven a loud speaker . Write a program that sends middle c to the speaker
by madupandu in Programming ()
Member Avatar
Hi, I have doubt on my answer in regards to the example for the coding part. I know my definition part should be okay, but I have doubt on my example part to show the difference between the Macro and the procedure. Can you please take a look at my …
by aksikan -1 in Software Development ()
Member Avatar
Hi, I'm writing code to connect to Oracle through ODP so I added a reference to the Oracle.DataAccess dll on my machine. Trouble is I'm writing a 64 bit app and I appear to have both x86 and 64 bit versions of this dll on my machine. No matter which …
by G_Waddell 131 in Software Development ()
Member Avatar
i have a project in assembly language. i just cannot make this out. i have to submit that in few days. any programmer or assembler who has already made that project ? or has a source. please reply and share ... thank you
by moin ali khan -3 in Programming ()
Member Avatar
Hello guys, am an assembly rookie. Wrote this code in notepad++ section .text global_start ;must be declared for linker (ld) _start: ;tells linker entry point mov edx,len ;message length mov ecx,msg ;message to write mov ebx,1 ;file descriptor (stdout) mov eax,4 ;system call number (sys_write) int 0x80 ;call kernel mov …
by Lesta_1 in Software Development ()