3,896 Topics

Member Avatar for
Member Avatar for D33wakar

[CODE] .MODEL small .STACK 100h ; defines a stack 100h (256) bytes long .DATA String DB "Hello World!",'$' ; variable declaration .CODE Start: mov dx,offset String ; point dx to the storage location for the first character mov ah,9 ; dos function for string output int 21h Stop: mov ax,4C00h …

Member Avatar for D33wakar
0
250
Member Avatar for Mizki

How do I print values (integer) from memory addresses? I did it with ascii string value, but I can't get it to work with integer value :/ Here is my code for printing ascii string: [CODE]lui $a0, 0x1001 addi $a0, $a0, 4 addi $v0, $0, 4 syscall [/CODE] I tried …

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for bettybarnes

hi guys i've got a simple problem with fibonacci sequence.. I use tasm and my processor is amd and this, so far, is my code: [CODE].model small .stack .code org 100h start: mov ah, 02h mov cx, 07h mov bl, 31h mov dl, 30h A: add bl, dl int 21h …

Member Avatar for faroukmuhammad
0
271
Member Avatar for bbman

I want to check degbugger and write a function like this code to call API debug "IsDebuggerPresent" : Code: [CODE]#include <windows.h> bool checkdbg(){ int i = 1; __asm{ call IsDebuggerPresent //gọi api debug test eax, eax jne L1 mov i,0 L1 : } if(i == 0) return false; else return …

0
64
Member Avatar for SamY

Hi people, im creating an operating system, 32bit, protected mode, vesa... a complete o/s i need your help in anyway, coding, funding, ideas. i will post my operating system image for you people to sample and you may join me in creating it.... the posting will be done in less …

Member Avatar for Schol-R-LEA
0
272
Member Avatar for Eddrian

Hey guys! I really need your help. I need assembly language codes to check if a string is a palindrome or not.. Pls. help me.. Thanks~! God bless!

Member Avatar for thines01
0
343
Member Avatar for bettybarnes

hi it's been a while since im studying assembly language.. I'm a bit confused about this language(coz i'm used to high-level language >.<) can someone explain each line of code to me? here it is: [CODE].MODEL SMALL .stack 100h .DATA NUM_1 DB ? NUM_2 DB ? NUM_3 DB ? V1 …

0
64
Member Avatar for coroll

Hi all, I want to know how to assin a return value to a variable when calling a regex function. it always returns a bit type of value(its ok). i want that bit type of value tobe cheked whether it is '0' or '1' this is my C# code in …

Member Avatar for coroll
0
181
Member Avatar for ccao

Hi All, I am trying to create a image text detection program. The program is up and running, and I can distinguish between text and non-text using laplacian based method with an acceptable accuracy. However, the problem is that I need the program run with the speed > 100 (images/s), …

Member Avatar for ChaseRLewis
0
198
Member Avatar for bettybarnes

hi guys i use tasm and I want to have an assembly program that gets user input and the program will provide the output. My desired program is when a user inputs 3 it will output asterisks just like this input: 3 output: * ** *** i found this code …

Member Avatar for thines01
0
1K
Member Avatar for Donald Njila

Hey guys could you please differentiate for me when to use stacks and when to use registers in assembly codes.Please a code fragment will do much good too. Thanks in advance.

Member Avatar for thines01
0
129
Member Avatar for barnum

I'm compiling assemblies in code called from a WebService (which makes user being IIS_USR, and TEMP-directory being C:\Windows\Temp). The assembly is created alright, but it's not loaded (get exception with "Access Denied"). I want to solve this by specifying where CompileAssemblyFromDom should put the assemblies. (I don't want to have …

Member Avatar for barnum
0
149
Member Avatar for VIeditorlover

Hi, I would need help with this problem - I have a special web app (web service diagnostic tool), it references web service. This app dynamically compiles source code, creates assembly and can run it - still OK. I want write source referencing web service data types - it can …

Member Avatar for thines01
0
154
Member Avatar for dreadiscool

Hi everyone. I have a web server that I wrote in C#, and it serves HTML documents pretty fine. The code is a bit messy, and I'm going to clean it up, but my main question is how to handle POST when submit buttons are used in HTML? Thanks! This …

Member Avatar for thines01
0
3K
Member Avatar for Riaz Haider

[TEX]hi.... i have connected a real time clock chip DS12887 with an 8051. the data of the rtc is brought into the controller and displayed on two 7 segment displays. the 7 segs are connected to P 1 of the uc. BCD data is recieved in the form of 2 …

0
78
Member Avatar for AceStryker

Hello!I'm new here, so, in my course i have to crack a program written by my teacher, he said that its a simple crack, this program have a message like:"This is a free program", i need to find the JNZ Short Command in runtime, but de address of this code …

Member Avatar for thines01
0
95
Member Avatar for NicAx64

hi , I just using 64 bit linux with my powerfull desktop computer. and I use Scientific linux as the destro,I use the RPM binary package to install gcc. and I using nasm also. I write simple example program in a nasm assembly (free) book.And the author gives some library …

Member Avatar for linuser
0
3K
Member Avatar for ramanjot1620

i have made a project. and it includes crystal report for printing something. but in exe file when i click the form then its not opening with error " Cannot load file or assembly : CrystalDecsions.Windows.Forms, version /...." What should i do now??????

Member Avatar for Momerath
0
138
Member Avatar for Marvin Danni

I am very new to assembly language and I have been instructed to make the brightness of a bright white LED to vary according to the brightness of the room that the LED is in, the brightness of the room will be detected by a light dependant resistor and the …

Member Avatar for thines01
0
107
Member Avatar for bd338

Hi! Basically I'm receiving user input, storing it in a buffer, and then (so far) testing the first of the three digit combination. However, when I CMP the first digit to the first number in the correct serial code it always tell me that I've entered the wrong serial code, …

Member Avatar for bd338
0
302
Member Avatar for lainey_nix

I apologise if i have placed this query in the wrong forum - I'm new here. When i try to access the index or default pages of my website i get this error... [QUOTE] Server Error in '/' Application. -------------------------------------------------------------------------------- Could not load file or assembly 'FredCK.FCKeditorV2' or one of …

Member Avatar for stbuchok
0
408
Member Avatar for dreadiscool

Hi everyone! For a 'learning' experience, I'm looking to write my own webserver in C#. I know most people would just write me down and say "Why are you wasting your time, just use a premade webserver!". But that's not the point - the point is to learn. I want …

Member Avatar for dreadiscool
0
2K
Member Avatar for dadisimo

Hey im new in this forum but really need help with making program on assembly 8086 that will take a string of 4 characters , then check if they are right and after that convert them to binary and decimal, then again hexadecimal, and in the end print something like …

Member Avatar for thines01
0
317
Member Avatar for bd338

Hello software developers :) I've decided to try and "crack" a (very simple) program I've written myself, just for the sake of it. Here's the code: [CODE] #include <stdio.h> const int serialCode = 255; int guess; int main() { printf("Please enter your serial code: "); scanf("%d", &guess); if(guess == serialCode) …

Member Avatar for Narue
-1
615
Member Avatar for Spacelama

I am new to asp.net and need some help with this error below. Ofcourse it will be obvious like i didnt correctly used the right tag. But still need help with this... Thanks Compiler Error Message: CS1061: 'ASP.lidworden_aspx' does not contain a definition for 'vNaam_TextChanged' and no extension method 'vNaam_TextChanged' …

Member Avatar for hericles
0
206
Member Avatar for kangkan_14

Here is an arm assembly code for factorial function (along with the c code).i am a bit confused with the stmfd and ldmfd instructions.what are they exactly doing in this program? what does the exclamation mark do? why is label .L2 being loaded into r0? i kno that stmfd and …

Member Avatar for kangkan_14
0
489
Member Avatar for bettybarnes

Hi guys i have problems with the codes that i got from a site. this is the code [CODE].model .code main proc mov ah, 02 mov dl, 61h start: sub dl,20h int 21h push dx mov dl, 0AH int 21h pop dx add dl, 20h inc dl cmp dl, 79H …

Member Avatar for thines01
0
277
Member Avatar for U3X

Im new to this site and hope to become an active member here. I can program in C++ and Assembly and hope ot help others.

Member Avatar for jingda
0
41
Member Avatar for Galbatorix

Hi, I am using vb.net 2008. Each time i run my project, i get an error message that the assembly could not be loaded and that i need an assembly manifest HELP!!!

Member Avatar for Galbatorix
0
110
Member Avatar for stevanity

I wrote the following code for sorting an array (ARR1) in ascending order. Please check if its correct. Thanks. Is there any assembler for windows that I can use to run these codes? [CODE].Program to sort ARRAY into ascending order. SORT START 0 OUTER LDX INDEX LDS ARR1,X LDX #0 …

0
187
Member Avatar for clericcodered

Hi, I'm working on a bit of a self-tailored operating system, loosely based on MikeOS (I've kept some MikeOS calls, removed a few, added my own, stripped down the interface,..) and i seem to be stuck on a problem. I need to define userspaces and allow the system to accept …

Member Avatar for clericcodered
0
216
Member Avatar for badguy

hey guys I'm new in assembly programming and i need to calculate the determinant of an N*N matrix in 80X86 processor i know the algorithm but i have a problem i don't know how can i sum these SIGNED numbers [ICODE]VAR1+VAR2 [/ICODE] & [ICODE]VAR1-VAR2[/ICODE] which VAR1 and VAR2 are: [CODE]VAR1 …

Member Avatar for Donald Njila
0
103
Member Avatar for Dajer

Hi friends I have a project with C#.when I run my project's exe and I want to run one part of my project,I have this error: System.IO.FileNotFoundException: Could not load file or assembly 'Interop.DTS, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File …

Member Avatar for Huntondoom
0
162
Member Avatar for apanimesh061

I was going through some documents and web pages on building a boot loader ! I am new to assembly programming. I want to know whether I should use NASM or MASM for assembly programming ? What is the meaning of this code snippet : [ICODE] .286 ; CPU type …

Member Avatar for camthalion95
0
244
Member Avatar for pivotcity

I am new to this forum and also programming only in my second week at uni so thanks in advance for your help and pateince It is only a simple program and i am trying to confirm the reason for this error ( pasted at the bottom) I assume it …

Member Avatar for pivotcity
0
164
Member Avatar for apanimesh061

I do not know how to compile a visual C++ project using makefile ! I am trying to build a boot loader using C++ and assembly. This is the list if the constituent files in the project: start.asm //this is the beginning bootMain.cpp //main function displayScreen.cpp //clears th screen buffer …

0
58
Member Avatar for ionutica

[CODE]org 100h mov ah, 09h mov dx, entername mov cx, 16 int 21h getname: mov ah, 00h ; keyboard input subprogram int 16h ; character input mov [si], al inc si jmp getname printstrg: mov ah, 09h mov dx, nameis int 21h mov ah, 09h mov dx, si int 21h …

Member Avatar for faroukmuhammad
0
117
Member Avatar for asrockw7

So I got curious with OpenGL and I ended up having a copy of the "redbook", as people call it. Initially when I tried relying only on online sources like tutorials and whatnot they were all written using WinMain which was a drag so that sort of put me away …

Member Avatar for Sodabread
0
587
Member Avatar for strmstn

Hello, I have been struggling with this for hours now. Is there any way to completely remove the icon that is displayed in the upper left corner of a window in WPF, without setting the window style to ToolWindow? I have tried loading user32 and setting various WinAPI-styles with no …

Member Avatar for k.d.m
0
1K
Member Avatar for coresnake

Hello there, while trying to get my head around block transfers in ARM asm i noticed that ldmib (inc before) doesnt change the location in Rd yet ldmdb does. This doesn't make sense to me because ldmdb is supposed to be dec BEFORE. Here's my code: [CODE] .syntax unified @----------- …

0
44
Member Avatar for teemsu
Member Avatar for teemsu
0
54
Member Avatar for MoZo1

So I have a component that renders very slowly. The problem is that I can only render inside the event handling thready, which shouldn't be freezed. Long ago in pascal/assembly I used backbuffer and page flipping. I've read that Java supports double buffering, but no info about thread safety. So …

Member Avatar for JamesCherrill
0
206
Member Avatar for Gold Falcon

Hello! To get straight to the point, I can't seem to get division to work. I haven't been programming in Assembly long, and I've been trying to get this to work for a couple of days now with no success. Anyway, here's my code: [CODE=assembly] section .text global _main extern …

Member Avatar for Gold Falcon
0
358
Member Avatar for mohana88

When I try to add a dll file into my project the following error occurs : A reference to dll could not be added. Please make sure that the file is accessible and that is a valid assembly or COM component. But I have imported the dll file using DLLImport …

Member Avatar for mohana88
0
8K
Member Avatar for tomtetlaw

Could someone please explain how DWordSwapAsm works without a return statement? I've ran the program with breakpoints and [ICODE]i[/ICODE] gets changed even though there's no return value in that function.. how does this work? NOTE: I don't want help with the assembly code, just the function itself. [CODE]template <typename T> …

Member Avatar for tomtetlaw
0
112
Member Avatar for aplee

Hello Everyone, Please guide me to this error I received whenever I run the application made using C#, the catch is, it is working in other computers but returns an error in one computer: This is the error: System.BadImageFormatException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or …

Member Avatar for nmaillet
0
148
Member Avatar for lochnessmonster

when i write a program in assembly and i define a variable of "word" size.....is it truly the natural word size of my processor? for example on an i7 64bit processor will it be the size of 64bits.....or will it be defined as how microsoft defines the size of a …

Member Avatar for Ancient Dragon
0
123
Member Avatar for BlackJackkk

Hi ! I`m trying to write an OS, but I already have some problems with the bootloader. I`m trying to load some assembly code from hard disk, that will set protected mode and load kernel, but i don`t think it loads what it should load. After it calls the int …

0
47
Member Avatar for apanimesh061

[CODE] using System; using System.Diagnostics; using System.Threading; using System.Runtime.InteropServices; //using System.Windows.Forms; using System.Reflection; using System.IO; namespace Record { /// <summary> /// Uses reflection to set up test information available in the Assembly. All classes /// containing a public static method named TestProc will be enumerated. /// </summary> public class MainTest …

Member Avatar for apanimesh061
0
291
Member Avatar for Arjun_Sarankulu

I have commented the dll reference in the config file still it give error couldnot load file or assembly I am not getting where i am going wrong

Member Avatar for Arjun_Sarankulu
0
78

The End.