3,896 Topics

Member Avatar for
Member Avatar for newGains

pretty new to programming in assembly but my assignment is to write a GCD program but my program works sometimes and sometimes it doesn't work. if i put the smaller number first then the larger number i don't get the correct GCD but if i do the opposite i get …

0
162
Member Avatar for Assembly Guy

Has anyone made some really cool (or not so cool) 512-byte programs in assembly? I used to hear about people taking part in competitions where they'd try and make, say, a bootloader (or a program like a calculator, for example) and pack-in as many features as they could, the only …

0
127
Member Avatar for Clan Onion

In Assembly there's not going to be much insight on linked lists, B trees, arrays, etc. In fact those don't even exist at the bit level. Sure, they help solve some problems from all the way up to your compiled language syntax, but such symbols don't exist in machine code, …

Member Avatar for mathematician
0
298
Member Avatar for Assembly Guy

#include <stdio.h> int main() { printf("Hello, World!\n"); return 0; } I've come across DaniWeb when using search engines to find solutions to a programming problem, but never really stayed for long. Finally, I decided to register and help out a bit maybe. I'm mainly interested in C and bare-bones Intel …

Member Avatar for cproger
0
232
Member Avatar for Rasool Ahmed

Hi all, I'm programming a shell code for stack buffer overflow vulnerabilities, I have learned about it and read alot of this vulnerability and finally I have the ability to exploit it and make the shells. This is my code: ;+-+-+-+-+[ FileName: shellcode.asm ]+-+-+-+-+-+ .386 .model flat, stdcall option casemap:none …

Member Avatar for Rasool Ahmed
0
108
Member Avatar for Echo89

So, When I assemble this code, I get no errors. It flies through the build. However, when I go to execute this code, it does not display the window. I am unsure of why. I have tried invoking messageboxes at the start or WinMain, but it seems it's not getting …

Member Avatar for GunnerInc
0
249
Member Avatar for yudi2020

m not able to add .dll file as refernce in c#.net as it is developed by me only..it says error "please make sure that the file is a valid assembly or com component". plz help me tu du d need ful...plz plz plz..its urgent

Member Avatar for tinstaafl
0
138
Member Avatar for nmakes

I have a **digital photo viewer keychain** by some company called **INNOVAGE**. I searched about it online but I can't find its webpage anywhere. The CD which came with it is empty and the device does nothing other than showing **"updating"** while connected to the PC. It doesn't even start …

Member Avatar for nmakes
0
556
Member Avatar for erum

I am using nlog and while running code ..its giving me an error Parser Error Message: Unrecognized configuration section log4net. rvice" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup> </configSections> <appSettings/> <connectionStrings/> <system.web> <!-- Set compilation debug="true" to insert …

Member Avatar for erum
0
4K
Member Avatar for Nutster

*I wrote this a few years ago as part of a C manual I wrote, but did not finish. I thought it might be interesting to the people on DaniWeb.* # Programming Language Generations # Different types of programming languages are often grouped into large categories known as generations. Each …

Member Avatar for <M/>
1
399
Member Avatar for astian

Hi, I am trying to publish a asp.net - silverlight application. The application has been started as a Silverlight Application project, the solution contains a few projects including a service connection. I am publishing it in file system and trying to host it on a Windows Server 2008 R2 in …

Member Avatar for LastMitch
0
417
Member Avatar for Anark10n

Hey there community. So I installed the latest version of MonoDevelop (on Arch Linux), and I wrote a "hello word" program to test if it installed alright. Building it, MonoDevelop says it builds successfully. However if i try to run it (with and without debugging), I get this error message: …

Member Avatar for alanmydarling
0
618
Member Avatar for Djmann1013

Why does this error occur? Here is my code: Imports System.IO Public Class Form1 Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click OpenFileDialog1.Title = "Select Image" OpenFileDialog1.InitialDirectory = "C:\temp" OpenFileDialog1.FileName = "Image File" OpenFileDialog1.Filter = "JPEG Images (*.jpg,*.jpeg)|*.jpg;*.jpeg|Gif Images (*.gif)|*.gif|PNG Images|*.png" OpenFileDialog1.ShowDialog() End Sub Private Sub OpenFileDialog1_FileOk(sender As …

Member Avatar for Djmann1013
0
1K
Member Avatar for Jfunch

I was hoping to find someone with shopping cart and paypal experience. I'm learning how to integrate paypal with my website, but I'm having touble getting logging in my mock buyer paypal account from the paypal checkout page. My payment button on my site seems to work fine and takes …

Member Avatar for LastMitch
0
898
Member Avatar for Vongola_Takeshi

We have this subject called Computer Oraganization... we are now using dos debug commands but the problem with my laptop is that when I type debug command...it will prompt 'debug' is not recognized as an internal or external command, operable program or batch file. The C:\Windows\system32 do not have a …

Member Avatar for xiboom
0
688
Member Avatar for Fix_It

Does KeBugCheck only work in a driver ? Andy [code] start: xor eax,eax or esi, 300h add eax, 220h nop cmp [eax], esi pop esi pop ebx jnz short done xor ecx, ecx push ecx ; BugCheckParameter4 push ecx ; BugCheckParameter3 push ecx ; BugCheckParameter2 push ecx ; BugCheckParameter1 push …

Member Avatar for Fix_It
0
129
Member Avatar for king03

Hi guys I wanted to ask how to make the numbers 0 to 9 show up diagonally, vertically, and horizontally all at the same time. My code must show something like this: (NOTE: Daniweb won't allow me to fill up those spaces with blanks so just imagine the "x" as …

Member Avatar for Assembly Guy
0
176
Member Avatar for mohdshafiqanas

Okay, I'm a newbie in this matter, and my lecturer seems to punish my class for not coming early to class. He asks us to write this assembly languange program, by using the information from internet. I really need your help about this question. Question 1. Initialize the grade listed …

Member Avatar for Assembly Guy
0
153
Member Avatar for silvercats

1.what is the Visual studio c++ run time environement that is asked to be installed when running programs? Is it the CLR? 2.Can we use the same CLR for every .NET language? 3.I get that languages are first compiled into an object file and then interpreted into machine language by …

Member Avatar for silvercats
0
265
Member Avatar for Big Tunda

Who, what, or how is memory-mapped I/O and memory maps set up in computer systems for use? I will try and be as clear as possible, and I hope someone here has the knowledge to really understand what I'm asking thoroughly, and have some answer that's good enough to make …

0
197
Member Avatar for Jfunch

I have cart that sends its information to paypal with the hidden html inputs. My problem is when the user finishes the payment in paypal my script the the paypal return sends its return url is not processing the information. When the user clicks pay in paypal it does redirect …

Member Avatar for LastMitch
1
423
Member Avatar for digifort

I am a beginner at Assembly. I am trying to make a DDR like game. Can someone please help me call the audio (SONG1 PROC) properly in the play window alongside with the graphics? The graphics are messed up whenever I try to call the audio. I cannot post the …

0
205
Member Avatar for Daigan

`LDA C031 MVI B, A LDA C032H ADD B STA C033H HLT` Okay so I made a program that add two numbers in 8085 AL but I keep getting 0A on C033 whatever I put in C031 AND C032. Help, please? Thanks!

Member Avatar for rubberman
0
97
Member Avatar for nacedo

I have done this chunk of code that I want to ''translate'' in assembly language. It calculates the lenght of the longest common subsequence. Can someone help me to translate this in PEP/8 assembly language ? The rest of my program is functionning quite good, but I cant find a …

0
258
Member Avatar for ayesha.anwar.9047

Write a MIPS code for the following C program to run perfectly in Qtspim??? Void main () { Int array[10]; For (i=0; i<10; i++) { array[i]=compare(num, i);} } Int compare (int a, int b) { If (sub(a, b,) >=0 ) return 1; else return 0; } Int sub ( int …

Member Avatar for L7Sqr
0
48
Member Avatar for mohdshafiqanas

Okay, I'm a newbie in this matter, and my lecturer seems to punish my class for not coming early to class. He asks us to write this assembly languange program, by using the information from internet. I really need your help about this question. Question 1. Initialize the grade listed …

Member Avatar for Echo89
0
118
Member Avatar for awuja

Hey guys.. need some help with this; I'm pulling my hair out.. i've trawled these boards but can't find anything that answers my question. I, like many others before me (so it seems!) am trying to create a program to check for a palindrome.. this is what I have so …

Member Avatar for robertospartan
0
685
Member Avatar for diether.silverious

Hi guys good day, im a student and i want to practice my php skills, i have a big problem in arrays that i cant solve almost a week so i decided to attach the php files as well as its database.pls help me so that i can study this …

Member Avatar for diafol
0
443
Member Avatar for Jboctor8

I am trying to send Data from text boxes in my windows form to specific cells in excel. I am forgetting to do something because i keep getting this error... Error 1 'ExcelWorkbook1.ThisWorkbook' does not contain a definition for 'textBox1' and no extension method 'textBox1' accepting a first argument of …

Member Avatar for JOSheaIV
0
860
Member Avatar for pritaeas

I have a project that contains regular resources in `Properties\Resources.resx`. Next to that, I have a folder named `Scripts` containing files, marked as "Embedded Resource". When I do: var resourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames(); I get a list of resources, containing both. What I would like to have is a list of …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for trishtren

hello, Iv recently been working on a compiler, so far i have a fairly decent working lexical analyzer and token scanner. So i can break down the code into a series of tokens and analyze them for correct strucutre. I also understand how to generate x86 instructions. However im lost …

Member Avatar for trishtren
0
193
Member Avatar for Clan Onion

And the microprocessor? I want to know exactly how this all works. Wikipedia claims that an instruction set architecture determines the data, registers, addressing modes, memory, etc. It also claims that it dictates the opcodes on a microprocessor. Wikipedia says "Microarchitecture" is the way a given ISA is implemented on …

Member Avatar for mike_2000_17
0
1K
Member Avatar for AmrMohammed

Greetings As the titles says I wanna know what are versions of C++ other than Standard C++ and what are the differents between those version if any! Second question what is contained in the .exe file I'm using Microsoft compiler "Visual Studio 2010 IDE"? Is it contains the assembly instructions? …

Member Avatar for mike_2000_17
0
901
Member Avatar for nosfa

I'm trying to populate a dataset from an excel sheet but I keep getting a "could not find installable ISAM" error. (In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user.) on the adapter.Fill line. Already tried changing …

Member Avatar for TnTinMN
0
799
Member Avatar for evilguyme

Hey guys i was just wondering if any of you have good links to sources that i can learn assembly from all i want to know is what the CMP PUSH EAX... means. basically i just want a reference to help me understand assembly language like in OllyDBG. Thanks.

Member Avatar for evilguyme
0
110
Member Avatar for evilguyme

hey guys im just trying to learn software hacking and i realised a major part is memory editing. that out of the way, i just wanted to ask if anyone knows a simple book or something of the sort to help me learn. basically i just want to figure out …

Member Avatar for deceptikon
0
94
Member Avatar for diafol

## I'd like to wish all DW members and guests a Happy St. David's Day. ## St David or Dewi Sant is the patron saint of Wales and his death (strangely!) is celebrated on March 1st. Schools across Wales celebrate this day with eisteddfodau. These consist of competitions with regard …

Member Avatar for ChrisHunter
0
266
Member Avatar for freedomflyer

This code blinks on and off an LED on my MSP430 from TI. I've marked teh number of cycles used for each instruction, but I'm not sure where the actual 'timing' factor comes in, as the RED led blinks on and off about every half second. To me, it looks …

Member Avatar for archis
0
130
Member Avatar for daino

I'm trying to build LibJpeg using a MingW compiler.. I have no idea given the massive list of makefiles in this zip file why I can't find one compatible with MingW?? Does anyone have any clue as to why they have left this out. Could someobody (and I mean this …

Member Avatar for archis
0
108
Member Avatar for meatyking

Hi, I'm a student at a university and I'm having trouble with an assignment. Mainly because I am very new to assembly language. If you have any experience using NASM x86 assembly language, please contact me through private messages I am willing to pay well.

Member Avatar for diafol
-4
171
Member Avatar for king03

Hi people can someone explain this code to me clearly, this is the simplest code I could possibly get I just want to ask how it works hope you can help me. By the way this code asks for an uppercase letter and will convert it to its lowercase equivalent. …

Member Avatar for deceptikon
0
219
Member Avatar for jangojan

Dear all i have created a small windows form application, which connect to mysql database, and the database is installed on a remote pc( virtual machine), i am using visual studio 2010 in winxp 32 bit , and i have build this application using .NET2.0, so that it can work …

Member Avatar for jangojan
0
523
Member Avatar for sanket.patil

Hi friends i have used autocompletextender in my C# asp.net form . but it's not working fine. i have used following code. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:ScriptManager ID="script" runat="server" EnablePageMethods="true"> </asp:ScriptManager> <asp:TextBox ID="txtServiceCityLocal" runat="server" Style="width: 292px; margin-left: 150px; border: solid 1px #747474"> </asp:TextBox> <asp:AutoCompleteExtender ID="AutoCompleteExtender2" runat="server" TargetControlID="txtServiceCityLocal" ServiceMethod="GetCountries" …

Member Avatar for cyberdaemon
0
361
Member Avatar for raaif

I am trying to retrieve all the names of the mp3 files from my hard drive, heres the full code, what i am facing is "Access to the path 'D:\System Volume Information' is denied." error, but i have changed the manifest file as below [ICODE]<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" …

Member Avatar for Reverend Jim
0
2K
Member Avatar for teppuus

Hello, I am trying to write a program that reads in a string of numbers. I am only allowed to use ReadChar (not ReadString, ReadInt, ReadBin, etc). The program reads in this string of numbers (2-16) which is a base number. Then the user enters another string of numbers. I …

Member Avatar for DarkLightning7
0
189
Member Avatar for alanso

hey guys this c++ code which needed to convert to asm and when user enter 2000 the clock shoud show lest then 5 sec.... for (a=0; a<=y; a++) for (b=0; b<=y/2; b++) for (c=0; c<=y/3; c++) if ((a + 2*b + 3*c) == y) count++; this is the question -finds …

0
121
Member Avatar for alanso

Guys..My task is to convert for loop c++ to asm....and the speed shoud be fast....i managed to convert to asm the loop part but when i run and enter 2000 it shows 33 second is it possible to be lower the 5 second.... #include <iostream> #include <ctime> using namespace std; …

Member Avatar for Banfa
0
421
Member Avatar for falcan
Member Avatar for Banfa
0
53
Member Avatar for homeboy

Hello, I created a dynamic object but I do not know how to use it when the instanciation of the object is finished. I would like to call some methodes from Class Base by an objet that I created dynamically. Can you explain me, pls? Thank you This is my …

Member Avatar for homeboy
0
237
Member Avatar for korathualex

I am redirecting using different roles superadmin,hr assistant etc to aspx pages with in folders respectively..But in foreign iis <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <configSections> <sectionGroup name="devExpress"> <section name="settings" type="DevExpress.Web.ASPxClasses.SettingsConfigurationSection, DevExpress.Web.v12.1, Version=12.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false"/> <section name="compression" type="DevExpress.Web.ASPxClasses.CompressionConfigurationSection, DevExpress.Web.v12.1, …

Member Avatar for JorgeM
0
283

The End.