3,896 Topics

Member Avatar for
Member Avatar for ncwolfe

Here's the program I wrote not using a procedure: [CODE] .data target BYTE "aabccdeef", 0 freqTable BYTE 256 DUP(0) space BYTE " ", 0 .code main PROC mov edi, OFFSET target mov esi, OFFSET freqTable mov ecx, LENGTHOF target mov eax, 0 L1: mov al, [edi] movzx eax, al mov …

Member Avatar for ncwolfe
0
441
Member Avatar for jonnyboy12

Hello i have some brief questions about loading functions from a dll. Im having problems understanding the difference between a function adress and a function hash. For example i know that when i open up kernel32.dll in a dll export viewer. The function address of loadlibrarya is ox7dd774bc6 and then …

0
50
Member Avatar for andrew732

I'm not sure exactly what I'm looking for or whether it exists, but I was hoping to get any ideas from the assembly experts here. I do know basic x86 and ARM assembly from classes but have not used them much in "real life." Ideally, what I would like is …

Member Avatar for andrew732
0
437
Member Avatar for nirveshverma

hi I am facing problem in connection of sql server in asp.net pages Actually there is error when i importing namespace [B]System.Data.Sqlclient[/B] [B] Error is:[/B] The type or namespace name 'sqlclient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) now i don't idea that what …

Member Avatar for nirveshverma
0
234
Member Avatar for riccardo-m

Hi, I'm trying to use the 8-bit result from an ADC to make a time delay. It is working except that time delay is only increasing after the input goes above 2.5V. The input is 0V to 5V from a 1k POT. Any ideas why it would not start working …

0
55
Member Avatar for buddy1

I'm having some trouble translating the following C++ program to Pep/8 assembly language. Can anyone help me solve this. This is what I have come up with. [code=cplusplus] #include <iostream> using namespace std; int list[16]; int i, numItems; int temp; int main() { cin >> numItems; for (i = 0; …

Member Avatar for mjmakl
0
2K
Member Avatar for songweaver

Hey guys, I am new to C# and know very little about ASP.net and classes in general. All that to say I got a project file for Visual Studio 2008 that is a C# web form that is suppose to allow you to enter address info: Street, City, State and …

Member Avatar for kvprajapati
0
140
Member Avatar for Nicholas_Roge

[ ] I've got a working bootloader. Now I need to learn how to pass control from that bootloader to... Well, I'm really not sure how to do that. [ ] Once I have passed control out of the bootloader. How do I access the graphics driver? [ ] How …

Member Avatar for NotNull
0
159
Member Avatar for mjacqu3

I am taking a class on assembly language for intel based computers and for our final project we need to develop a simple game in assembly. For my project I need to make the console window bigger. I looked in the textbook and i cant find anything about resizing the …

Member Avatar for NotNull
0
89
Member Avatar for riccardo-m

Hi, I have a circuit that charges a capacitor and discharges it. The length of the discharge pulse is supposed to be determined by the ADC value from a POT. The pot is wired as a voltage divider and I have tested that the voltage to the pic pin varies …

Member Avatar for riccardo-m
0
125
Member Avatar for lewashby

I'M reading the book "Beginning C# Game Programming by Ron Penton". The book is instucting me to create a small framework for a game, the problem is, the book was written for VS 2002 and I'M using VCs 2008 express. I'M instructed to add references to the project, two of …

Member Avatar for Gospp
0
319
Member Avatar for simona_ragazza

Hi guys, I'm new here I just started learning assembly and tomorrow I have an exam and I have a problem with a task. I can't find code for division and I module, so I have this task, if you can pls write me the code: Write a code for …

Member Avatar for Salem
0
100
Member Avatar for suryarao
Member Avatar for skiabox

I have a project written in vb.net and I am trying to convert it to c#. I have managed to convert it except from one file. Here is the old code of the file : MyWebExtension.vb [CODE] #If _MyType <> "Empty" Then Namespace My ''' <summary> ''' Module used to …

Member Avatar for kvprajapati
0
468
Member Avatar for Mme

I'm working with a HCS12 Motorola chip trying to make a MIDI player. Got stuck on the function of play/pause/forward/back. These are controlled by external switches set to high and low. Below is my attempted switch settings: [CODE]switches LDD $0000 CPD #$0001;"pause" button BNE AFTER_1 PAUSED LDD $0000 CPD #$0002; …

Member Avatar for Salem
0
147
Member Avatar for bonyshine

hello every one ! im computer science student , i have 9 months for delivering my graduation project . i dont have idea of what about it going to be ? but im searching about a nice ,creative idea . i have knowledge about c++, c#.net , java , oracle …

Member Avatar for highschool
0
501
Member Avatar for sandeep210

[CODE]<?xml version="1.0" encoding="utf-8" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="Samples.Controllers" schema="I_USER" assembly="Samples" > <sql-query name="PROCEDURE1" callable="true"> <!--<return class="empdetails.cs" />--> <return-scalar column="iusrfname" type="String" /> <return-scalar column="iusrlname" type="String" /> <return-scalar column="iusrlinname" type="String" /> <return-scalar column="iusremailid" type="String" /> <return-scalar column="iusrmobileno" type="String" /> <return-scalar column="iusrrmrks" type="String" /> <!--<return-scalar column="iusrcreated" type="DateTime" />--> call PROCEDURE1(:pr_userid,:iusrfname,:iusrlname,:iusrlinname,:iusremailid,:iusrmobileno,:iusrrmrks)<!--,:iusrcreated)--> </sql-query> </hibernate-mapping>[/CODE]

0
114
Member Avatar for Dwarrel

Hi, i'm trying to learn some assembly, ive got a assignment from school to control a lcd screen. I've got some sample code that i mostly understand but i can't figure out what the SBI command does. Using atmega32, with avr studio 4 [CODE]sbi PortD, LCD_E[/CODE] At this point PortD …

Member Avatar for Dwarrel
0
3K
Member Avatar for fmartins

I'm learning assembly and just finished coding the n-queens problem in nasm. The n-queens problems consists of placing n queens on a nxn chessboard so that no two queens are in the same row, column or diagonal (so that no queen could take another). For years, this is the first …

Member Avatar for coded_hitec
0
584
Member Avatar for afas87

HI,, i wanna ask you about MIPS is there MOV instruction in MIPS?if not, why doesnt support it. thanks,,,

0
79
Member Avatar for martin314

Hi all, I thought I would do the right thing and introduce myself. My name is Martin, I am getting old in the tooth at 42 and thoroughly enjoying the process. I like a wide range of music, from pop to classical but do enjoy a bit of JAM and …

Member Avatar for jephthah
1
165
Member Avatar for jockfaire

Hello, I am developing a mobile application (school project) using a Windows Mobile 6 Professional emulator. This application has a login function that prompts for a password and uses a Data Access Object(DAO) to connect to a SQLServerCE database. This database has a table called User which stores the password. …

Member Avatar for jockfaire
1
157
Member Avatar for salman1986

Actually these are Some of Interviews Questions that i have to answer in an interview. I have got Some Confusion :-/ in My answers that why posting here .. So that Any Genius Can Answer these Question Correctly 1) Which of the following are true about Extension methods? 1) They …

Member Avatar for kvprajapati
0
184
Member Avatar for rpineres

Hey guys! My name is Ryan and I'm looking forward to meeting you all soon. Here's a quick overview (questionnaire): Name: Ryan Height: 5'5'' Weight: 171 Hair: Black-brown Eyes: Brown Location: FL Age: 20 Hobbies: Video games, programming, watching movies, taekwondo Relationship Status: single Fav Music: Well, there isn't a …

Member Avatar for rpineres
0
117
Member Avatar for lee.j.baxter

Hi everyone, I'm really, really confused with the whole CHS thing. Here's what I understand so far... INT13, function 8 can get me the following drive parameters:- Heads Cylinders Sectors-per-Track I can use the following calculations to get the disk space:- Sectors-per-Side = Sectors-per-Track * Cylinders Total Sectors = Sectors-per-Side …

Member Avatar for coffeeuncle
0
206
Member Avatar for tesaluna32

hi to all.. could someone help me how to write a code in a86 assembly language? only 30 seconds coundown. i haved my code but it doesn't work. thanks..!![code][/code]

Member Avatar for coffeeuncle
-1
114
Member Avatar for pilsdumps

Hi, I've created an objectdataprovider in a resource dictionary with some method parameters. [CODE] <ObjectDataProvider x:Key="PatientsList" ObjectType="{x:Type vm:AllPatientsViewModel}" MethodName="CreateAllPatients" > <ObjectDataProvider.MethodParameters> <system: Double>22</system:Double> </ObjectDataProvider.MethodParameters> </ObjectDataProvider> [/CODE] I've having a problem getting the <system:Double> tag to be recognised. I receive the following error: [COLOR="Red"]Error 1 The type 'system:Double' was not found. …

Member Avatar for kvprajapati
0
163
Member Avatar for hitro456

hi folks, I have a big C# component, which has reference to many other .dll's. I am facing a strange kind of problem when I compile my code or in between all folders in my /bin/debug directory get deleted automatically. So I get an error saying reference not found for …

Member Avatar for kvprajapati
0
108
Member Avatar for lee.j.baxter

Hi folks, I'm creating a bootloader for my setup CD in NASM, and so far I've got the PVD (Primary Volume Descriptor) stored in a buffer. Now I'm stuck, as I'm not sure exactly how the Directory Records .etc. are structured; how is the one-to-many relationship implemented .etc. as it …

0
108
Member Avatar for aprogramer

hi, all, Glad to see you guys here. It's Greeting from China mainland. Do you mind my introducing myself? I'm a switch driver engineer. I'm interesting in bios, firmware development using assembly and c language respectively. Say hi to you guys again.

Member Avatar for jephthah
0
17
Member Avatar for mathew_johnny

Hi, I v got a tough challenge to solve please help me find its solution. Have code but no corresponding higher language code. Code displays 8 top records made by any users in a particular game, i have to modify it in such a way that it prints 10 records. …

0
242
Member Avatar for Chris_Giarla

Is there a difference between %ecx and (%ecx) I don't really care at this point about specific register uses, just consider %ecx a general purpose register for my question. I know that if you have a base pointer (%ebp) and you want to reference a location based on that, you …

Member Avatar for gerard4143
0
161
Member Avatar for dolkk

Hi guys, I am a [COLOR="red"]newbie[/COLOR] in writing programs in assembly language. Can anyone teach me how to write a simple code to develop a basic graphic user interface. I am currently working on a project to create a musical game that requires user interaction. Your assistance is greatly appreciated. …

Member Avatar for DENE@DANI
0
140
Member Avatar for Dabdob

Hereby the code i have wrote about a small porgram to to find the maximum number from three numbers. Waiting your comments,,, GET AX; MOV BX,AS; GET AX; MOV CX, AX; GET AX; CMP AX,BX; CMP AX,CX Put AX End

Member Avatar for ashenafiye
0
7K
Member Avatar for jt3204

Hi there, I am having some trouble compiling what I believe to be unmanaged code (output from monodis) back into C# for analysis. What is the correct procedure or program to use for this? Thanks. PS. I don’t know whether it would help at all, but the output begins like …

Member Avatar for jt3204
0
229
Member Avatar for Syphilis

What's Up? OK, So when my file gets executed, It creates a window via 'CreateDialogIndirectParam', Once you press OK, It then creates the next Via 'Createwindow'. All the windows they use are under the dialogs section which is viewable via reshacker or PE Explorer. Now my goal is to bypass …

0
67
Member Avatar for hello_man

TITLE hw5_ex1 (hw5_ex1.asm) ; this program prompts the user to enter 10 numbers between 0 and 9 ; the program should print error message if the input invalid and ; prompt to enter a valid one, at the end the program should print ; only the valid input. INCLUDE Irvine32.inc …

0
30
Member Avatar for martlevin

Hi I am having problems with getting an LED to flash on a 16F887. I believe it is down to the oscillator. can you point me in the right direction? [CODE] __CONFIG _CONFIG1, _LVP_OFF & _FCMEN_ON & _IESO_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_OFF & _PWRTE_OFF & _WDT_OFF …

Member Avatar for Bishoppy
0
123
Member Avatar for wApPy

help me for this program... i need an output for reversing of a string.. what are the missing codes? correct me .. teach me... give me an example of program.. a reversing program for EMULATOR 8086,ASSEMBLY.....[code]include 'emu8086.inc' org 100h print 'input a string: ' mov dx,10 call get_string putc 0ah …

Member Avatar for eyfifteen
0
535
Member Avatar for spiricn

So I've started programming in assembler recently (college course) , and of course they are making us use ubuntu and DDD debugger for debugging .. So I was wondering , is it possible to set up DDD on Windows ? I've tried googling but came up with nothing so far …

0
54
Member Avatar for asmhelp

Hello, I'm having a problem trying to trying to store a local variable in my asm program. I push 3 parameters: nbrElts (number of elements in the array), nbrArray (the address of the array), and result1 (the average). I'm trying to divide by the number of elements that I push …

Member Avatar for asmhelp
0
169
Member Avatar for mjacqu3

I'm new to Assembly and trying to write a program that requires a simple graphic display: a 10x10 grid of "|##|" . I need to make changes to it and redisplay it every so often. I can get it to display perfectly once but the second time I call the …

Member Avatar for mjacqu3
0
136
Member Avatar for jascook

Hi all, I've uploaded my asp.net site to my ISP. It works fine locally on VWDE 2005, in that I can create users, assign them to roles, and control role access to website folders etc. Obviously this is all with SQL 2005 Express on my PC. When I upload it …

0
87
Member Avatar for guht

I have a VB.NET application created in Visual Studio 2005. The application uses crystal reports. It works fine on the developer machine, but I am receiving the following error on a client machine: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0 This is a standalone executable and not distributable …

Member Avatar for kjohnston
0
1K
Member Avatar for southtucky

First let me say I am thankful I found these forums for assembly, and that I am a complete newbie. I've been reading documentation, and even bought a book on learning assembly, however, there is still one question I have that baffles me. I would appreciate it if someone could …

Member Avatar for NotNull
0
154
Member Avatar for dv1r

im in the middle of a lab test and i need help the question is "PC computer component occupies real time clock 70-71H address Rmbah the IO. Find his ruling is the entry of sub-controller IRQ0 8259 (A1 A0H addresses in input and output)." and i have no idea how …

-1
64
Member Avatar for Bufbupa

Hello and thanks in advance for any help. I am currently trying to write a bit of code that simulates a keystroke via stuffing a scan code directly into the keyboard controller chip and have it return that scan code as though someone actually pressed that key. To be honest, …

Member Avatar for Bufbupa
0
157
Member Avatar for ItecKid

Hello, all, I am writing an x86 function that is called, with arguments, from a C program. Which registers does x86 store these arguments in?

Member Avatar for Salem
0
62
Member Avatar for ryukifaiz

I am writing an x86 assembly language program that between base numbers.My problem is how to make it happen like this: [QUOTE]Welcome 1. Binary <-> Octal 2. Binary <-> Decimal 3. Binary <-> Hexadecimal 4. Octal <-> Decimal 5. Octal <-> Hexadecimal 6. Decimal <-> Hexadecimal Please enter the type …

0
101
Member Avatar for iomartin

Hello, I am really a beginner with Assembly, and I'm currently working on a program in which I receive a string of numbers, separated by spaces. I will have to perform some operations with these numbers, one at a time, but for that I have to recognise when a number …

0
40

The End.