3,896 Topics

Member Avatar for
Member Avatar for Nathan Campos

Hello, I'm learning Assembly. I'm using DEBUG as my Assembler, but now i want to convert a simple code to really Assembly(For emu8086), here is the code as i put in DEBUG: [code=asm]-E 0200 "0123456789" 24 -A 0100 0D0B:0100 MOV AH,09 0D0B:0102 MOV DX,0200 0D0B:0105 INT 21 0D0B:0107 INT 20[/code] …

Member Avatar for Nathan Campos
0
1K
Member Avatar for allynm

Hello everyone: I am in search of a macro written in NASM that will perform the functions of the SWITCH/CASE C/C++ statements. Mammon wrote a macro some time ago that makes the rounds on the internet, and I have coded his macro, but it doesn't work. I can't understand why. …

Member Avatar for wildgoose
0
173
Member Avatar for VernonDozier

I'm adding really big numbers (a lot of them). I'm supposed to detect overflow errors. I did it years ago in Assembly by checking bits, but I've never done it in C++. [code] long long a = pow (2, 62.0); long long b = pow (2, 62.0); a += b; …

Member Avatar for Dave Sinkula
1
202
Member Avatar for Hagbard_Durden

Hello. I'm new here, and new to Python. I have a little experience with C++, and assembly, and just started learning Python about 2 weeks ago. I'm trying to write a program that will control servo motors in sync with an audio file (probably .wav). So far I've written programs …

Member Avatar for Hagbard_Durden
1
248
Member Avatar for robertmacedonia

Hi, I get this error when I try to access my project which I've just put up on a server - Compiler Error Message: CS0246: The type or namespace name 'DataSet1TableAdapters' could not be found (are you missing a using directive or an assembly reference?). The line it's complaining about …

Member Avatar for robertmacedonia
0
86
Member Avatar for tomtetlaw

I am doing Narue's Introduction to Assembly, and when I run my program, nothing happens. This is my code: [code=asm] [section .data] hello: db 'Hello, world!', 10, 0 ;15 bytes nl: db ' ', 10, 0 ;3 bytes [section .text] global _main, _print_nl, _print_msg, _return extern _printf _print_nl: push nl …

Member Avatar for tomtetlaw
0
166
Member Avatar for qwedster

Guys! I got 2 `ajaxToolkit:sliderExtenders` "SliderExtenderVertical" and "SliderHorizontal" targeting 2 `asp:TextBoxes` "SliderVertical" (with definition for "SliderVertical_TextChanged") and "SliderHorizontal" (with definition for "SliderHorizontal_TextChanged") respectively. However, when "SliderVertical" is slided, both "SliderVertical_TextChanged" and "SliderHorizontal_TextChanged" events are triggered! How to prevent "SliderHorizontal_TextChanged" event from being fired when "SliderVertical" is slided? As a matter …

0
53
Member Avatar for Krstevski

I use MS Access database and I want to create a simple backup system, but I have not idea how to create it. I tried with copy paste on the database but I got error because my database is being used by my application... I also tried to disconnect the …

Member Avatar for sknake
0
226
Member Avatar for duggydiggy

Greetings All, I was wondering about how a build process goes on in Vc++. I want to know that is there any intermediate assembly file generated while building a source file as what happens with gcc. If the answer is no ,then why gcc build process has this ones step …

Member Avatar for Hiroshe
0
75
Member Avatar for qwedster

Hi! I am using Zedgraph in my ASP.NET application. I get a duplicate legend in my graph. How to remove? Please help! Here's my code: //Default.aspx.cs [code=c#]using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Drawing; using ZedGraph; using System.Configuration; using System.Data; // using System.Data.SQLite; public …

0
65
Member Avatar for Alexar93

Ok, so i've made a bootloader in assembly but I think its very hard to write the operating system (the kernel) in assembly so I wonder if it is possible to write it in C#? The question is: Can you write a C# console application and convert it to .bin …

Member Avatar for ddanbe
0
101
Member Avatar for kindnumbernine

Hello. I was wondering if someone here could tell me what is needed to call a win32 function from NASM. I thought I could declare MessageBox for example with EXTERN and then use LINK to link my object module with user32.lib (from visual studio) but I get "unresolved symbol MessageBox" …

Member Avatar for kindnumbernine
0
497
Member Avatar for jakx12
Member Avatar for NotNull
0
167
Member Avatar for tomtetlaw

I am doing Narue's Introduction to Assembly, and when I run my program, nothing happens. This is my code: [code] [section .data] hello: db 'Hello, world!', 10, 0 [section .text] global _main extern _printf _main: push hello call _printf add esp, 4 mov eax, 0 ret [/code] This is what …

Member Avatar for tomtetlaw
0
100
Member Avatar for Nathan Campos

Hello, I'm a Java developer, but only for curiosity i want to learn Assembly, someone can post some good resources to begin. Thanks, Nathan Paulino Campos

Member Avatar for Nathan Campos
0
89
Member Avatar for malugirl4

I have just completed my java code for the game engine maze I have been working on. We are told to download MARS and from java code it in assembly. I have never learned assembly. So I am completely lost. I so far downloaded MARS and uploaded my java code. …

Member Avatar for wildgoose
0
5K
Member Avatar for tomtetlaw

I am doing a tutorial on Assembly, and I have ran into this error: [icode]fatal: Unable to open include file "includes/asm_io.inc"[/icode] Here is my code: [code=assembly] %include "includes\asm_io.inc" MOV EAX, 3 ;EAX = 3 ADD EAX, 4 ;EAX = EAX + 4 INC EAX ;EAX++ CALL print_int ;cout << EAX …

Member Avatar for tomtetlaw
0
2K
Member Avatar for Alexar93

Hello i'm new here and I hope you can help me :) I've made a bootloader in assembly that's starting up my kernel. The code for the bootloader looks like this: [code] ; 3.ASM ; Load a program off the disk and jump to it ; Tell the compiler that …

Member Avatar for Alexar93
0
107
Member Avatar for DarkC0de

hi every body I'm begging with assembly and I try two sum two numbers but i cant understand interruptions and generally Assembly so I learn asm with api I wrote this if anybody correct me >>!! [CODE].386 .model flat ,stdcall OPTION CASEMAP:NONE include kernel32.inc include masm32.inc includelib kernel32.lib includelib masm32.lib …

Member Avatar for wildgoose
0
293
Member Avatar for hello1231231
Member Avatar for wildgoose
0
168
Member Avatar for duggydiggy

After going through lots of stuff about declaration and definition,in a nutshell I understand that the difference is in the memory allocation. In definition yes and in declaration no memory is allocated. Fine ,Is there any process that shows that yes [code] int a; //which is a definition [/code] allocates …

Member Avatar for Salem
0
200
Member Avatar for join_u

Hi to all.. im novice here sorry for bad english well iam a Visual Basic programmer and i like ASM... im start to learn ASM and to do it i get some code and try to translate to Visual Basic in my first step i found a code to encipher …

Member Avatar for wildgoose
0
85
Member Avatar for kiuhnmgtrdcv

hi everyone I hope you can help me with converting some c code into assembly code, i have tried much now, and i still don't get it. i'm new to programming ASM this c code gets two number from the user to draw an ellipse [CODE] #include<stdio.h> #include<graphics.h> #include<math.h> #include<dos.h> …

Member Avatar for kiuhnmgrtdcv
0
977
Member Avatar for hzx_300

Hi, I need a help to find out solution to these problems (1) Write a program that will ask the user to input a hexadecimal number and display the number of binary one’s within that number. (2) Write a program that will ask the user to input his name. Then …

Member Avatar for wildgoose
0
262
Member Avatar for infinities

For example, using MASM32 to code on multicore machines? What differences do you have to be aware of?

Member Avatar for mathematician
0
135
Member Avatar for ladines

how can i make 2 digit counter starting from 00 to 99 and will reset when it reaches 99 . . . .

Member Avatar for wildgoose
0
40
Member Avatar for si01

Hey I am trying to build this application, but I am having trouble as error messages keep appearing. Using Visual Studio 2008... [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Opc; using OpcCom; using Opc.Da; using Opc.Hda; namespace ConsoleApplication3 { class Program { public static void …

Member Avatar for si01
1
153
Member Avatar for oneat

I am Beginer with asseembly and at first I wanted to compile this code: [code] use32 section .text global _main extern _printf _main: ; printf("Liczba jeden to: %d\n", 1); push dword 1 ; drugi argument push dword napis ; pierwszy argument call _printf ; uruchomienie funkcji add esp, 4 ; …

Member Avatar for wildgoose
0
130
Member Avatar for laconstantine

I am very interested in ASM I wana learn write it and read it like a pro.. Now i'm in CLASS issue I want to know how c++ Class definition looks in ASM code.. for example this code [CODE] class MathFuncs { public: int a,b; private: void SetVars(int,int); }MathObject; void …

Member Avatar for kvprajapati
0
108
Member Avatar for zappan

Hi everyone, I had a problem when to run the code. it mention that Unknown server tag 'ajaxToolkit:CascadingDropDown'. i already include the ajaxtoolkits reference and also [code]<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>[/code] What is my problem?.

Member Avatar for Tschuikow
0
47
Member Avatar for mahdi68

Hi I'm novice in ubuntu , i'm using NetBeans IDE for j2me programming but i have a praoblem : emulator do not work !!! when i'll run program dose not work and this message is displayed : [CODE]java.lang.UnsatisfiedLinkError: /home/mahdi/netbeans-6.7/mobility8/WTK2.5.2/bin/sublime.so: /home/mahdi/netbeans-6.7/mobility8/WTK2.5.2/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) …

Member Avatar for peter_budo
0
402
Member Avatar for chand.

Hi everyone, If anyone knows that how we can find that when was the first job done by our processor. Actually I want to find that my laptop is used or brand new, because I pay for brand new, but I have doubt on the dealer and some guesses that …

Member Avatar for caperjack
0
101
Member Avatar for john_beginner

hello every one 'm quite new to c# i have bit idea abt assembly that , it can store the version information exe,dll info but how it's work & i have to make one pro. tha contain name,version info. abt it so how to beggin it pls provide ur valuable …

Member Avatar for papanyquiL
-1
80
Member Avatar for NargalaX

Hey, I'm having a problem with one of my newest programs. When you run it, it stores a .txt file with nothing in it just so that it can tell if you've run the program or not. If you've never run the program, the .txt file won't be there, so …

Member Avatar for ddanbe
0
155
Member Avatar for Jiro90

Can anyone explain the flow chart or algorithm of the program attach? The program is about LCD clock but I don't know how it works. I need it by tomorrow so please help me take a look. Thanks

Member Avatar for wildgoose
0
101
Member Avatar for JasonL220

I've been writing a java wrapper to a c library, and need to use asm to push the parameters onto the stack to call the library function. an extract of the c code: [CODE]extern void asm_dispatch(void *func, int nwords, char *arg_types, long *args, int res_type, long *resP,int conv); /********************************************************************/ /* …

Member Avatar for wildgoose
0
250
Member Avatar for Salizer

Were experimenting with getting access to the members of a program and using the methods and properties in them. Would use it to later use the functions/properties by reading a file and use them at runtime. But got a problem. Can make it work if it only has to do …

Member Avatar for sknake
0
94
Member Avatar for arunkumars

Hi ppl, Now this is very funny, luk, my company is a small 1, i just completed a project, this is connected to backend (MS SQL). since itis small, my company canot keep a server for the client alone. now, how can i deploy. I tld my MD tat the …

Member Avatar for arunkumars
0
425
Member Avatar for jiyashah

hi every body. i m jiya. i m software engineer. actually i want idea for my final year project. plz if u people have any idea then share it with me. it should b noticed that i m interesting in vb.net or assembly language projects.

Member Avatar for jiyashah
0
103
Member Avatar for masterjiraya

is it possible to do that??? because I'm now looking to prove something like this scenario I want to buy a laptop but the specs was not given or posted in the window of a certain computer shop??? and they let me test it... but how to assemble the codes …

Member Avatar for wildgoose
0
211
Member Avatar for joe1987

Private Sub InsertDatabase() Dim rowaffected As Integer Dim SqlInsert As String Dim fname As String Dim mname As String Dim lname As String Dim ConnPPC As New System.Data.SqlServerCe.SqlCeConnection("Data Source =" + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\test.sdf;")) ConnPPC.Open() fname = Me.txtfname.Text mname = Me.txtmname.Text lname = Me.txtlname.Text Dim cmd As SqlCeCommand = ConnPPC.CreateCommand …

Member Avatar for kvprajapati
0
218
Member Avatar for wicked357

I have been working with assembly for some weeks now and I want to actually take on a challenge that actually might interest me in the means to learning it better, so I thought I would try and make a maze game something simple, not sure on size yet I …

Member Avatar for wildgoose
0
2K
Member Avatar for mohankumar554

hi.. i developed a web application using asp.net2005 in windows xp professional,database is sql server2000.. i have to run the application in another system.. so i used deployment to run the application in another windows system.. after deployment i got a setup file with "msi" extension. i installed this "msi" …

Member Avatar for Ramesh S
0
235
Member Avatar for arice

Greetings, I actually joined some time ago, but don't do a lot of social networking. I live in the weeds, some 30 miles from the nearest town. I don't venture out much in the real world, about once a week I suppose. I have been hacking code for just over …

Member Avatar for semoweb
0
158
Member Avatar for VIDOCQ

hi WHETHER NASM SUPPORT 64 BIT PROGARMMIN OR NO ? OR IS THERE NASM FOR EXAMPLE AMD64 BIT ? THX.

Member Avatar for retsigir
0
131
Member Avatar for deostroll

Hi. I am trying to print a single digit decimal number on to the screen. So far I've come out with this code. [ICODE] mov ax, 3 var db '$' mov bx, offset var add ax, 30h mov [bx], ax add bx, 1 mov byte ptr [bx], '$' mov ah, …

Member Avatar for wildgoose
0
2K
Member Avatar for hoti99

i want to simulate something in asm like strcat function in C strcat("Hello",World") ==> Result "HelloWorld" please help me to do this iam very begginer in coding i need just a simple code .model small .stack 64 .data ;******************************** s1 db 'hello ' s2 db 'world' ;******************************** .code main proc …

Member Avatar for wildgoose
0
725
Member Avatar for mustafaneguib

hi all, this is my first time using JAVA. i know other programming languages, such as, c++, PHP, Assembly. this is a basic personal schedular. for saving the data i am using a custom designed linked list, and for the gui i am using custom gui. the program runs fine …

Member Avatar for mustafaneguib
0
167
Member Avatar for wicked357

I started this macro that does the following in MASM, 1. takes the user input for character entered 2. copies character from AL to _char variable 3. converts to ascii value and outputs to console I was able to do the first 2 having issues with the conversion process. Here …

Member Avatar for NotNull
0
277
Member Avatar for wicked357

I have read a lot of examples on 32-bit division and I have seen a lot of, mov edx, hiword ;load edx with hi word of dividend mov eax, loword ;load eax with lo word of dividend mov ebx, divisor ;load ebx with divisor div ebx ;quotient goes into eax, …

Member Avatar for NotNull
0
84

The End.