3,896 Topics

Member Avatar for
Member Avatar for h.liang

Hello, This is my first time posting anything here. I have learned c# before when in school. But now at work I'm trying to make a program using c# and I'm encountering a program. I am a novice, and is hoping everyone's expertise can help me. Essentially I'm developing a …

Member Avatar for kvprajapati
0
213
Member Avatar for nuliknol

Hi, i have got a new question, is it possible to pop from the FPU stack and deposit to general purpose register without doing FIST to memory? Or in other words,, is there any way to do FISTP RAX or something equivalent? (i can't write to memory because of low …

Member Avatar for nuliknol
0
164
Member Avatar for nuliknol

Hi, how many 64 bit registers can I use inside intel i7 cpu for storage purposes to feed them later into XMM registers? I currently use XMM0-15, MM0-8, R8-15 only. I know i can use RAX,RBX,RCX, RDX and eight registers inside the FPU (ST0-ST8), but what others can I use? …

Member Avatar for Evenbit
0
345
Member Avatar for nuliknol

Hi, i have been looking for this and can't find anywhere about the subject. I would like to know how many clock cycles does it takes to execute each instruction in complete asm instruction set for Intel i7 microprocessor. (including SSE & FPU instructions). Does any one has a list …

Member Avatar for nuliknol
0
144
Member Avatar for Chizl

I'm a old C++ guy, so forgive my ignorance in ASM.. I'm having issues with getting CPU utilization through perfmon, because of a small memory leak in the pdh.dll after being called every 60 seconds for weeks on end. I then tried using MS typeperf.exe, but I found that EXE …

Member Avatar for Evenbit
0
214
Member Avatar for Nobari

Hi i need help please i want program in assembly aboute : we enter a number(not string) and system answer me is it prime or not ! at all i cant convert string to number please give me this program code :icon_confused:

Member Avatar for ithelp
0
24
Member Avatar for tomtetlaw

When I try to assemble this code: [code=asm] %include "asm_io.inc" %define SIZE 100 ;#define SIZE 100 MOV SIZE, eax ;eax = SIZE CALL print_int, SIZE ;std::cout << eax [/code] I commented the c++ equivelent of the asm code I get this error: error: binary format does not support external references …

Member Avatar for MosaicFuneral
0
104
Member Avatar for chri5ty

:-/ Hardware performance becomes increasingly high. Software performance seems to decrease, because developers (who are not necesarily programmers) believe that the hardware is so powerful that it will carry out any task. :| On some of the "geeks forums" every child can advise you to update your computer, buy some …

Member Avatar for Jupiter 2
0
247
Member Avatar for kcomeby

hello im new at assembly (in english too) and i have a question as you may guess: can i add new lines to exe file? its just for experimental causes not for hack, crack or something like that. i wanna protect my software. so i mean if i open exe …

Member Avatar for MosaicFuneral
0
87
Member Avatar for saeidmscs

Hi every one My question is that "What is the code of getting or displaying information without 'io.mac functions'? for example,what should be replaced instead of these codes: 1-GetInt edx 2-PutStr 'this is a string' Thank you:) :)

0
37
Member Avatar for ibzee33

hey all, im trying to compare two strings 8 characters long, the first was predefined and the second was entered by the user. i tried used (cmpsb) instruction and byte by byte comparison, but both failed its for a project that requires a student to enter their number and password, …

Member Avatar for alireza_noshika
0
242
Member Avatar for pradeepmisra

Hi All, I am trying to do reverse engineering i.e. i am trying to get the signature of the function from the arm assembly code. I want to know how can we extract function signature from arm assembly code.

Member Avatar for pradeepmisra
0
302
Member Avatar for austinium

Hi, I am new to Perl and am trying to port an old version of checkstack.pl to run on windows, the code iam trying to port is [code=perl] # Usage: # objdump -d vmlinux | stackcheck.pl [arch] # # TODO : Port to all architectures (one regex per arch) # …

0
101
Member Avatar for Ossehaas

Hello every1, I'm using CAS permissions in my app, everything is working except when I want to load an assembly. All CAS Settings now are: [CODE]<Assembly: FileIOPermission(SecurityAction.RequestOptional, Unrestricted:=True)> <Assembly: FileIOPermission(SecurityAction.RequestMinimum, Unrestricted:=True)> <Assembly: UIPermission(SecurityAction.RequestOptional, Unrestricted:=True)> <Assembly: UIPermission(SecurityAction.RequestMinimum, Unrestricted:=True)> <Assembly: FileDialogPermission(SecurityAction.RequestRefuse, Unrestricted:=True)> <Assembly: FileDialogPermission(SecurityAction.RequestMinimum, Unrestricted:=True)> <Assembly: IsolatedStorageFilePermission(SecurityAction.RequestOptional, Unrestricted:=True)> <Assembly: IsolatedStorageFilePermission(SecurityAction.RequestMinimum, Unrestricted:=True)> <Assembly: …

Member Avatar for Ossehaas
0
185
Member Avatar for sorin_g

Hello everyone, If you had to implement a basic antivirus software for a mobile device (16 bit processor, 8 MB RAM) would you rather use macrodefinitions (and deal with the expansion problem) or procedures (resulting a code with many jumps)? From my point of view, one solution would be better …

0
49
Member Avatar for polo_coins

Does anyone made such thing . I must make it for may classwork but it's too heavy for me Need your help :S

Member Avatar for jephthah
-1
777
Member Avatar for smm4k

hi assembly professionals, i am doing a robot project and i intent to use assembly language to control the brain of the robot which is an atmega168 microcontroller. I have programmed the adc successfully the controller using arduino C language but i have a problem using studio4 assembly. here is …

0
46
Member Avatar for DeathWalker101

Hey all, Im working with assembly atm and thought i might just get a better idea understanding loops if i know how java loops work not that it is really the same im just trying to back track. Im trying todo the following: When var1 = 3 It then needs …

Member Avatar for tux4life
0
84
Member Avatar for VBNick

Hi. I am trying to use assembly in C++, and need a few pointers(pun intended) lol I want to use C++ structs as operands, but can't figure out how. my code is like this so far: TEST.CPP [code=cplusplus] extern "C" WORD _add(WORD num1, WORD num2); int _tmain(int argc, _TCHAR* argv[]) …

Member Avatar for MosaicFuneral
0
491
Member Avatar for Bramenator

Hi Guys. I've been searching the web for a solution but it seams as though I have to ask a question....LOL I have a couple of Projects consisting of a fex apps and Dll's all in one solution. One of my Classes is Called GlobalVariables which is referenced in all …

Member Avatar for swain
0
178
Member Avatar for DeathWalker101

Hey guys im busy with a project using the 6800 Emulator from "hvrsoftware". Well my aim is to get input number from user between 1-9 then it needs to print it out n number of times according to that number. What i have so far is: [CODE]; This program reads …

0
52
Member Avatar for johnny_b_30

I write a program in C but i have not the right to use the standard library. I want to open a file so i use an assembly procedure that i have write, open_file. Here is what i mean: At C code part:[code] int fp; int open_file(char* filename); .... fp …

Member Avatar for johnny_b_30
0
83
Member Avatar for Arctic wolf

Hello everyone, I know this forum is more about asm86 but I thought maybe someone knows enough about assembly in general or had some expirience in asm51 as well and can help me with my questions(wich are simple), I needed a 16bit(word) counter and I didn't have appropriate register for …

Member Avatar for Arctic wolf
0
103
Member Avatar for amorphis88

http://server185.jnet.be/$sitepreview/chirolonderzeel.be/kalender.aspx Error: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its …

Member Avatar for mail2saion
0
266
Member Avatar for Tank50

HI Iam created project in visual studio 2008,and once I compile coding,it give me error meassagee.The Error Meassage is [COLOR="Red"]Error 1 The type 'Microsoft.Office.Interop.Excel.Workbook' exists in both 'c:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll' and 'e:\Test\Test\Test\obj\Release\Interop.Microsoft.Office.Interop.Excel.dll' E:\Test\Test\Test\Test.cs 13 67 Test [/COLOR] So what I did is I delete the Excel.dll in (\obj\Release\Interop.Microsoft\Excell.Dll,but once I complie it …

Member Avatar for Tank50
0
86
Member Avatar for Darkangelchick

Hey guys I have to analyse a short program for school and the only keyword i cannot find a definition for if ORG. What does this do in assembly code?? Any help would be appreciated. Thanks

Member Avatar for jephthah
0
136
Member Avatar for BombAppetit

Anyone here has experience making a PIC based pointing device that can interface with the PC using PS/2 mouse port? Can I have a look at an example of the codes and circuitry? I'm working on creating a prototype of a new pointing device, just as a uni project, and …

Member Avatar for murthysharma
0
214
Member Avatar for rownak
Member Avatar for MosaicFuneral
0
78
Member Avatar for LouieAnn

using mov ah,01 how can i add two number, i will input two numbers example: 1 2 = 3 how can i add this??

Member Avatar for cikara21
0
102
Member Avatar for LouieAnn

help pls, i input 2 numbers then it will add if i enter.. i use mov ah,01 code and etc.. can u give me Codes for that example of output: 1 2=3 i input 2 numbers then if i press enter it automatically add, can you help me?? how does …

Member Avatar for Salem
1
77
Member Avatar for shinnxennosagga

Anybody ever use InkX or RichInk from OpenNETCF? Im having difficulties adding it on my windows mobile form, building the application is no problem, but when deploying it, a strange error pop up, saying something like missing Assembly. Btw, Im using Visual Studio 2008 as my editor.

Member Avatar for shinnxennosagga
0
145
Member Avatar for infinities

The problem isn't with learning it, it's with finding out which one to learn. Assembly differs according to your CPU architecture, all right. Most PC CPUs are built with the x86 architecture? Fine. From my understanding, there's still a multitude of different versions. NASM? MASM? What's the difference between these? …

Member Avatar for orwell84
0
133
Member Avatar for Shaabneh

please help me to correct this program: [code=asm].model small .stack 64 .data x DB 'A' y DB '1' LN DB 13,10,'$' .code mov cx,5 L1: mov Bx,Cx mov cx,5 L2: mov ah,9 lea dx,x int 21h loop L2 mov ah,2 mov dx,y int 21h inc y inc x mov cx,bx …

0
49
Member Avatar for as_ad

hiii plz i need a help in the following Qs using assemply lang i am a Beginner and i dont know how to solve it....plz help. Q1. Write an 8051 assembly program to convert a series of ASCII numbers to packed BCD. Assume that the ASCII data is located in …

Member Avatar for as_ad
0
126
Member Avatar for jonnytabpni

Hi folks, I've created an application in VS2008 Express Edition. Some of my customers could potentially want slightly different features so I had the idea of moving the relavent stuff to a seperate dll (which works). The problem is when I swap the dll with a different one I get …

Member Avatar for JerryShaw
0
165
Member Avatar for ch33s3r

I am working on a C program that parses code from a high level language and generates MIPS code. I have a question about the logic to test for (in)equality in an IF statement. For example, my code generation for a statement like [CODE]IF a!=b[/CODE] I just use [CODE] else …

0
107
Member Avatar for keasub

If the following code executed, what will be the result of it? [CODE]Intel chips use the LITTLE ENDIAN convention. Data transfer between RAM and CPU registers attaches the LOW byte of RAM to the LOW 8 bits of a register. Please refer to the Instruction Set of Intel 8086. In …

Member Avatar for Salem
0
97
Member Avatar for SceneZx

Hello, Ive just started programming in Assembly and im having a little trouble with the language itself. I wanted to make a program that takes two positive integers and adds them together, and outputs a message if theres a carry over, but i have no idea how to go about …

Member Avatar for BestJewSinceJC
0
144
Member Avatar for j_cart007

here is my Caesar cipher code, can u pls have a look at it and correct me if i'm wrong. [code] AREA text, CODE SWI_Exit EQU &11 SWI_WriteC EQU &0 ENTRY ADR r4, hello ADR r3, alpha ADR r2, key loop LDRB r0, [r4], #1 STRB r0, [r4], #1 CMP …

0
90
Member Avatar for laconstantine

I started with masm32 and i have some questions I read this [QUOTE] Under Win16, there are two types of calling convention, C and PASCAL C calling convention passes parameters from right to left, that is , the rightmost parameter is pushed first. The caller is responsible for balancing the …

Member Avatar for laconstantine
0
234
Member Avatar for LangTuHaoHoa

For Example .I have a function that code in C++ : [CODE] void MyFunc(int s) { struct itemRec { int code; int index; } bItem; bItem.code = 0x0000000B; bItem.index = s; __asm { push eax push edx mov ecx,0x00625388 push 00000000h lea edx,bItem push edx push 00000016h mov eax,0x00487273 call …

Member Avatar for LangTuHaoHoa
0
388
Member Avatar for sajithkahawatta

:sad: :sad: my web page C#.net is work properly in my iis .but when i publish in another server it give errers.i used vs2005 and ms word 2003. but in the server there is no vs2005 or word installed. it has only .net frame work installed.folowing the error, Parser Error …

Member Avatar for hermsen
0
765
Member Avatar for Joonas

Hello All! Here is code of Space Invaders game. It is x86 Assembly Enjoy! [code] ;;; $RCSfile: part0.asm,v $ $Revision: 1.8 $ $Date: 2005/03/09 15:31:55 $ BITS 16 ; outputin koko bitteinä stacksize EQU 0200h ; pinon koko videobase EQU 0a000h ; starting address of video memory delay EQU 150 …

Member Avatar for Joonas
0
203
Member Avatar for j_cart007

this is my code which copies 1st string into 2nd String. [code] AREA StrCopy1, CODE SWI_WriteC EQU &2 ENTRY ; mark the first instruction main ADR r1, srcstr ; pointer to first string ADR r0, dststr ; pointer to second string BL strcopy ; copy the first into second SWI …

Member Avatar for j_cart007
0
157
Member Avatar for heshangho

Hi guys, I am trying set cursor postion in the screen and print a value.But this loop gives me a unlimited loop..can anyone help me to figure out whats wrng.? [CODE] mov ecx,5 L1: mov XYPos.X, eax mov XYPos.Y, ebx INVOKE GetStdHandle, STD_OUTPUT_HANDLE mov consoleHandle, eax INVOKE SetConsoleCursorPosition, ConsoleHandle, XYPos …

Member Avatar for Alex_
0
117
Member Avatar for Krstevski

Hey people... My problem is: - - Heaviest Word Find the the heaviest word in an array. One word is heavier than the other if it has more vocals than the other. Vocal characters are ('a', 'e', 'i', 'o', 'u', 'y') If two words have the same number of vocals, …

Member Avatar for verruckt24
0
322
Member Avatar for eniwe

Learning assembly and 'am trying to move from 16-bit to 32-bit. i have this assembly code to display a string in a message box. [CODE];tasm32/tlink32 .386 .model flat extrn MessageBoxA:proc extrn ExitProcess:proc .data head db " 'Heard melodies are sweet,",0 body db " but those unheard Are sweeter;'",0 .code begin: …

Member Avatar for eniwe
0
138
Member Avatar for tag5

:( please help me solve this assembly problem urgently: Q . write a 8086 program to store in consecutive memory locations starting from OAEO , the square of 1 to 25. note: each value in the memory must be doubled , like 1-2,2-4, 3-9 etc. please reply on my problem …

Member Avatar for MosaicFuneral
0
62
Member Avatar for prabhuraj

while deploying my project (C# codes) which includes Crystal report and crystal reportviewer, iam getting an error during build solution 1) "The type or namespace name 'CrystalReport1' could not be found(are you missing an assembly reference?)" any one can tell me how to add directive or an assembly reference to …

Member Avatar for jerry32uk
0
112
Member Avatar for Alex_

Hello everyone. I'm trying to do this in nasm under linux : [code] cmp eax,ebx jng .loop[/code] and also [code] test eax,ebx jng .loop[/code] and yet also [code] %if eax < ebx jmp .loop %endif[/code] I want to loop while eax is lesser than ebx and non of the 3 …

Member Avatar for Alex_
0
167

The End.