3,896 Topics
![]() | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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), … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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?????? | |
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 … | |
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, … | |
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 … ![]() | |
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 … | |
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 … | |
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) … | |
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' … | |
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 … | |
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 … | |
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. | |
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!!! | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 @----------- … | |
How do I do? (Sum odd number) subt (sum even number) with marie simulator | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 |
The End.