2,889 Topics
![]() | |
Does KeBugCheck only work in a driver ? Andy [code] start: xor eax,eax or esi, 300h add eax, 220h nop cmp [eax], esi pop esi pop ebx jnz short done xor ecx, ecx push ecx ; BugCheckParameter4 push ecx ; BugCheckParameter3 push ecx ; BugCheckParameter2 push ecx ; BugCheckParameter1 push … | |
Hi guys I wanted to ask how to make the numbers 0 to 9 show up diagonally, vertically, and horizontally all at the same time. My code must show something like this: (NOTE: Daniweb won't allow me to fill up those spaces with blanks so just imagine the "x" as … | |
Okay, I'm a newbie in this matter, and my lecturer seems to punish my class for not coming early to class. He asks us to write this assembly languange program, by using the information from internet. I really need your help about this question. Question 1. Initialize the grade listed … | |
I am a beginner at Assembly. I am trying to make a DDR like game. Can someone please help me call the audio (SONG1 PROC) properly in the play window alongside with the graphics? The graphics are messed up whenever I try to call the audio. I cannot post the … | |
`LDA C031 MVI B, A LDA C032H ADD B STA C033H HLT` Okay so I made a program that add two numbers in 8085 AL but I keep getting 0A on C033 whatever I put in C031 AND C032. Help, please? Thanks! | |
I have done this chunk of code that I want to ''translate'' in assembly language. It calculates the lenght of the longest common subsequence. Can someone help me to translate this in PEP/8 assembly language ? The rest of my program is functionning quite good, but I cant find a … | |
Hey guys.. need some help with this; I'm pulling my hair out.. i've trawled these boards but can't find anything that answers my question. I, like many others before me (so it seems!) am trying to create a program to check for a palindrome.. this is what I have so … ![]() | |
Hey guys i was just wondering if any of you have good links to sources that i can learn assembly from all i want to know is what the CMP PUSH EAX... means. basically i just want a reference to help me understand assembly language like in OllyDBG. Thanks. | |
hey guys im just trying to learn software hacking and i realised a major part is memory editing. that out of the way, i just wanted to ask if anyone knows a simple book or something of the sort to help me learn. basically i just want to figure out … | |
This code blinks on and off an LED on my MSP430 from TI. I've marked teh number of cycles used for each instruction, but I'm not sure where the actual 'timing' factor comes in, as the RED led blinks on and off about every half second. To me, it looks … | |
I'm trying to build LibJpeg using a MingW compiler.. I have no idea given the massive list of makefiles in this zip file why I can't find one compatible with MingW?? Does anyone have any clue as to why they have left this out. Could someobody (and I mean this … | |
Hi, I'm a student at a university and I'm having trouble with an assignment. Mainly because I am very new to assembly language. If you have any experience using NASM x86 assembly language, please contact me through private messages I am willing to pay well. ![]() | |
Hi people can someone explain this code to me clearly, this is the simplest code I could possibly get I just want to ask how it works hope you can help me. By the way this code asks for an uppercase letter and will convert it to its lowercase equivalent. … | |
Dear all i have created a small windows form application, which connect to mysql database, and the database is installed on a remote pc( virtual machine), i am using visual studio 2010 in winxp 32 bit , and i have build this application using .NET2.0, so that it can work … | |
Hello, I am trying to write a program that reads in a string of numbers. I am only allowed to use ReadChar (not ReadString, ReadInt, ReadBin, etc). The program reads in this string of numbers (2-16) which is a base number. Then the user enters another string of numbers. I … | |
hey guys this c++ code which needed to convert to asm and when user enter 2000 the clock shoud show lest then 5 sec.... for (a=0; a<=y; a++) for (b=0; b<=y/2; b++) for (c=0; c<=y/3; c++) if ((a + 2*b + 3*c) == y) count++; this is the question -finds … | |
Guys..My task is to convert for loop c++ to asm....and the speed shoud be fast....i managed to convert to asm the loop part but when i run and enter 2000 it shows 33 second is it possible to be lower the 5 second.... #include <iostream> #include <ctime> using namespace std; … | |
Need help understanding this practice problem in my reading. Can someone please explain to me what it is doing at every step. Consider the following assembly code: x at %ebp+8, n at %ebp+12 1 movl 8(%ebp), %esi //I assume this is x being stored in register 2 movl 12(%ebp), %ebx … | |
Can anyone help me how I can start with my program in assembly language? My task is to write a program that will ask a user for an input (just a single letter, number, or special character) and the program will determine whether the user's input is a letter, number, … | |
Hi all, I'm having a problem with comparing two strings and telling the user if they are equal or not. The program is written in Assembly 8086. (.com extension) The layout is the following: 1? Hello ;input of first string 2? hello ;input of second string not equal ;final string … | |
I have this issorted code to sort elements of an array. It's very slow as it is right now due to a lot of memory access, number of branch instructions per iteration of the poorly written loops, and unorganized instruction/register usage causing dependencies between instructions. I'm not sure on how … | |
this is a calculator in asm using tasm..this works fine but the problems i want to fix are: 1.remove the division part(add,sub,and multi are required). 2.i want to remove the menu, when i run the program it should show up directly to the input part. 3.i want this thing [+][-][*] … | |
Dear all, i am soon entering 11th grade and will be studying c++ in full length. I want to learn another language to compliment it which can provide me the freedom to over a variety of devices and paltforms. I have chosen asm(assembly) as i think it very basic to … | |
title Lab_Tutorial_1 .dosseg .model small .stack 100h .data input db 99 dup(0) msg1 db 0ah, "Enter a string (max of 99 characters) : " ,0ah,0dh, '$' msg2 db "Filtered result : " ,0ah,0dh, '$' msg3 db "Number of alphabets : $" msg4 db "Press any key to end.....$" blank db … | |
hi guys I just want to ask what's the purpose of mov bl and mov cl in assembly? It would be easier to understand if you will also include some examples. Thank you to those who will help I'd really appreciate it. :) | |
This code will not work on EMU8086 or any processor prior to 80286. Line 40 would need to be changed. | |
Hi. I have this example for an lab and I don't understand what's happening. Especially what MEM32[0] means... DATA SEGMENT MEM32 DD 316423 DATA ENDS CODE SEGMENT … … MOV AX, 43981 SUB DX, DX ;load dx ax 43981 ADD AX, WORD PTR MEM32[0] ;add inf. word ADC DX, WORD … | |
I have a problem with creating a loop that swaps every two bits. The general idea is this (without loops): JMP START N: equ 8 Data1: DB 03h, 23h, N, 34h, 2Bh, 6Fh, 8AEh, 24h, 1EAh START: LDA N MOV D, A LDA $4203h MOV B, A LDA $4204h STA … | |
How can I perform Division in Marie Assembly Language? The functions available in Marie programming are for Addition and Subtraction. Any help will be appreciated. | |
I would like to know about the following code, could anyone tell me, please? .text:004027A0 sub_4027A0 proc near ; CODE XREF: sub_401010+118-p .text:004027A0 .text:004027A0 var_404 = byte ptr -404h .text:004027A0 .text:004027A0 sub esp, 404h .text:004027A6 lea eax, [esp+404h+var_404] .text:004027A9 push 1 .text:004027AB push eax .text:004027AC call sub_401CC0 .text:004027B1 add esp, … | |
Hi fellas, I have a question about disassembled code. I have a very simple assembly code that prints "Hello world" to screen. When I disassembled it by using nasm(ndisasm), I got a text file. After that I opened it and started to analyze it. However, in a section that comes … | |
;Read and array of positive numbers.Create two arrays one containing numbers in the interval [120,130] and the ;other one outside this interval. data segment para public 'data' sir db 1,2,120,140 len dw $-sir sir1 db 6 dup(?) sir2 db 6 dup(?) data ends code segment para public 'code' start proc … | |
This is my code and every time i add 2 numbers there's an excess number digit 1 on result can someone help me? .model small .stack 200 .data msg db 10,13,'Enter first no. : $' msg2 db 10,13,'Enter second no. : $' msg3 db 10,13,'Answer : $' .code start: mov … | |
Hi everyone I wish a happy new year for all. This is the code that i wrote so far. TITLE MASM Template (main.asm) ; Description: ; ; Revision date: INCLUDE Irvine32.inc INCLUDE macros.inc Employee STRUCT idnum BYTE "0000",0 lastname BYTE 30 DUP(0) years WORD 0 Employee ENDS .data workers Employee … | |
hello, I want to interface gsm sim 300 modem to AT89c51 to send sms. for that i need assembly language programming. so can anybody please share the code? or please tell me the link to get that one. thank you, | |
Hello, I am proficient in assembly language of the Free-scale line of microprocessors and I would like to learn other brands. Can anyone please tell me if there are any other brands of microprocessors, demo-boards, or IDEs that allow programming in assembly? If you know of a specific hyperlink please … | |
I recently bought this book online used, it came with no CD. Many of the code examples in this book rely on some file called IO.h that apparently came with the CD. I downloaded this file and I still get many errors. Does anyone have these files, or do I … | |
Dear Friends, i need the code for Digital Clock using 8086 in assembly language.. please help me.. i know nothing about assembly.. Please help me somebody i have found a code but its not working properly. please let me know if you want to explain the code, i'll provide it.. … | |
hello, this is my code and for some reason it does not work :/ could someone tell me whats going wrong? ;sum of all powers of 2 lower or equal to 2^n ;example n=4 => 2+4+8+16=30 .386 .model flat, stdcall option casemap: none include \masm32\include\windows.inc include \masm32\include\masm32.inc include \masm32\include\kernel32.inc includelib … | |
when i run my code in emu8086 i have error "opcode not supported yet" so what should i do in this case and pls try to run in emu8086 to check if it work properly or not cause i spent alot of time to fix the code but i couldnt … | |
I have started using emu8086 and since I’m new to this I got stuck with my project that I have to submit till Friday :((( I need to make a program in assembly that counts how many words in a given sentence are palindromes: For example: Dad loves mom (in … | |
mov eax,'ZYXW' Now there are 3 problems. in Hexa W=57,X=58,Y=59,Z=5a Debugger shows this as 1515804759 in Decimal. that is when 5958595a taken as a whole. why doesn't it show 87888990 like when they are take separately? 2. Why is it shown as 5a,59,58,57 rather than 57,58........ ? (because W=57 which … | |
Data Segment arr1 db 8,2,7,4,3 Data Ends Code Segment Assume cs:code, ds:data Begin: mov ax, data mov ds, ax mov es, ax mov bx, OFFSET arr1 mov cx, 5 mov dx, cx L1: mov si, 0 mov ax, si inc ax mov di, ax mov dx, cx L2: mov al, … | |
Hey Guys, I'm extremely new to the coding in Assembly language MIPS - currently I'm using QtSpim. And I was wondering how I can go about multiplying two numbers that I input and display that number, as well as, find an average of numbers and displaying that. Any info would … | |
So I am using spim and I am trying to figure out how to take a users input say "16" and then print it as 9 digit binary number. for example 16, 000010000 or say 4, 000000100, 67 01000011 etc etc always 9 spaces and in binary. I have all … | |
Hello, I've been working on this code for a while and I can't get it to display A to a(Uppercase to lowercase) as well as lower to upper, a to A. I've looked around and found suggestions on here and googel from other similar threads that I've tried but none … | |
i need explain for that bits 16 arr db 0x5,0x1,0x3,0x2,0x7,0x3,0x6,0x4,0x9,0x5 arr_e equ $ i dont know how to make look up table in emu8086 and i dont know whats meaning of bits 16 and "arr" is a file on pc or it's a normal word in a code in the … | |
Hello everyone, I write code in assembler, which subtracts two numbers. I need advice on how to modify the code subtracted from a positive number to a negative number. For example: 826-(-621) = 1447 Thanks for you advice ; 826 = 0x33A, 961 = 3c1 ; 576 = 0x240, -621 … |
The End.