3,896 Topics

Member Avatar for
Member Avatar for ChicagoBears2012

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 …

Member Avatar for rubberman
0
267
Member Avatar for bylandsend

Hi, having a problem implementing partial page postbacks using a scriptmanager and an update panel. Here is a test page using a web form to call a user control. I am hitting the else statement in the code behind that confirms I do not have a functioning partial post back. …

Member Avatar for arun1123
0
3K
Member Avatar for king03

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, …

Member Avatar for untio
0
189
Member Avatar for bourney

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 …

Member Avatar for ShiftLeft
0
466
Member Avatar for bguild

*Code Complete* is a programming book by Steve McConnell which includes a second about how to choose a language for your project. It very briefly examines a wide variety of languages: Ada, Assembly, C, C++, C#, Cobol, Fortran, Java, JavaScript, PHP, Perl, Python, Smalltalk, SQL, and Visual Basic. It also …

Member Avatar for <M/>
1
233
Member Avatar for salty11

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 …

Member Avatar for salty11
0
247
Member Avatar for diether.silverious

Hi guys, this codes works perfectly to me, except that i would like to add pricetotal in session variable. my problem is pricetotal does not display values when i use print_r. Heres the output when i use print_r to display session variable: Array ( [0] => Array ( [item_id] => …

Member Avatar for broj1
0
221
Member Avatar for masoude
Member Avatar for bryan.casin

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 [+][-][*] …

0
1K
Member Avatar for achinthaadd

im junir for vb 2010, im tring to make small program, which when select picture in opendialog,( give path of image into text box(txtGrupAddNewArtWrokUploadImage.Text) ) copy to folder(ArtWork) which in application installed folder. i try to filecopy command using give target path like"c:\temp\image.jpg" command is working but when i chenge …

Member Avatar for achinthaadd
0
284
Member Avatar for sandheer.sannidhya

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 …

Member Avatar for rubberman
0
241
Member Avatar for wolfmanemil

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 …

Member Avatar for deceptikon
0
280
Member Avatar for Tortura

Hi, I want to serialze an object. I use the binary formatter because it's a very complex object. I solved a lot of SerializationExceptions, but there are two that I don't understand or know how to handle. It says "The type "Ivi.Visa.Interop.FormattedIO488Class" in assembly "Ivi.Visa.Interop, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1" is not …

Member Avatar for skatamatic
0
185
Member Avatar for king03

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. :)

Member Avatar for deceptikon
0
68
Member Avatar for ShiftLeft

This code will not work on EMU8086 or any processor prior to 80286. Line 40 would need to be changed.

Member Avatar for mathematician
0
542
Member Avatar for chira.laura.9

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 …

Member Avatar for mathematician
0
495
Member Avatar for gsowmyashri

am not able to run web page in Visual studio 2008 The ERROR is "Could not load file or assembly 'WebApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied."

Member Avatar for LastMitch
0
172
Member Avatar for lios1984

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 …

0
82
Member Avatar for Rameses

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.

Member Avatar for konbleck
0
6K
Member Avatar for bazzer14

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, …

Member Avatar for bazzer14
0
379
Member Avatar for hollystyles

Test Driven Development (TDD) is the amalgam of two programming techniques: Test-First Development (TFD) and Refactoring. Looking at the first of these, TFD literally means that before you write some functional code (in whatever programming language you happen to favor) you first write a small piece of code to test …

Member Avatar for jeryraza
2
3K
Member Avatar for hwoarang69

i just started reading how to connect ur cart to paypal. i get the main idea but when i hit paypal buy button. data doesnt tranfer. so on paypal site it alway say to have 0 items in ur cart. <?php ... $x=1; $pp_checkout_btn = ''; $pp_checkout_btn .= ' <form …

Member Avatar for hwoarang69
0
174
Member Avatar for kemaletikan

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 …

Member Avatar for 010101
0
2K
Member Avatar for tudor.laze

;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 …

0
65
Member Avatar for MistIgnite

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 …

0
82
Member Avatar for whitech

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 …

Member Avatar for ShiftLeft
0
254
Member Avatar for amit251291

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,

0
57
Member Avatar for mafarjehr
Member Avatar for bill haygood

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 …

Member Avatar for deceptikon
0
213
Member Avatar for Gink

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 …

Member Avatar for deboflo
0
650
Member Avatar for scetian

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.. …

0
256
Member Avatar for jannesb1

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 …

Member Avatar for jannesb1
0
214
Member Avatar for MRmicro1

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 …

Member Avatar for MRmicro1
0
140
Member Avatar for femaler2d2

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 …

Member Avatar for femaler2d2
0
157
Member Avatar for silvercats

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 …

Member Avatar for silvercats
0
163
Member Avatar for ultracoder

Are you a freelancer or programmer for hire? Join, post & bid for projects free. Thousands of skilled programmers, skilled freelancers to choose from. Ultracoder is a developer oriented outsourcing site. Skilled programmers will bid to complete your project right now. Computer Based programs, Training, Web Services, Language Specific programs, …

Member Avatar for LastMitch
0
234
Member Avatar for Mirza92

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, …

Member Avatar for Mirza92
0
127
Member Avatar for pop_cola

Hi guys, Do you have some sort of guidelines on how a user is notified that there's a new upgraded revision of the application (assembly information) or set-up files? The situation is like this, I have created a vb.net application and created a set-up file using VS2008. Now everytime I …

Member Avatar for pop_cola
0
166
Member Avatar for Harley_Quinn

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 …

Member Avatar for Harley_Quinn
0
148
Member Avatar for calvintmoss

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 …

Member Avatar for sbesch
0
387
Member Avatar for bobby2525

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 …

Member Avatar for sbesch
0
1K
Member Avatar for MrMicro

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 …

Member Avatar for sbesch
0
224
Member Avatar for Alda1992

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 …

Member Avatar for sbesch
0
151
Member Avatar for Xufyan

I am trying to figure out the way to use the nested loop in a proper way but so far i am failed, The loop run to infinity when i run the program which i definitely don't want to do, here is my code, .MODEL SMALL .STACK 100H .DATA var1 …

Member Avatar for sbesch
0
3K
Member Avatar for jason007thomas

In assembly language how do I write code to take input from a sensor and turns on a LED? I'm writing an assembly program that will read information from a sensor that will detect whether its raining or not. the sensor will be the input and the LED will be …

Member Avatar for sbesch
0
433
Member Avatar for salma.zaki.31
Member Avatar for Fix_It

I need help with this code. It isn't working correctly. ; last error in is LASTERR Error No impersonation token ; ; reparieren.asm Help from Fetten,Dave,Frank K.,Qword,TightCoderEx, ; To err is O.K. as long as it isn't too many. ; .386 ; .model flat,stdcall ; option casemap:none ; include masm32includecomdlg32.inc …

Member Avatar for Fix_It
0
190
Member Avatar for pratik65

This is my Exceptio on Run Time {"Could not load file or assembly 'file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.":"file:///C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll"}

Member Avatar for john.knapp
0
364
Member Avatar for MrMicro

i have problem in this code it work well in 1st loop then its bug as si and di still the same and making alot of jumps without any change this code sorting descending jmp strXt0 arr dw 0x1,0x9,0x3,0x2,0x7,0x3,0x6,0x4,0x9,0x5 arr_e equ $ strXt0: mov si, arr mov di, arr+2 mov …

Member Avatar for ShiftLeft
0
114
Member Avatar for Bailey98

Is it possible to make drivers from scratch in assembly and how easy is it???? anyway im also new to this forum. im almost 15 and really enjoy learning about programming.

Member Avatar for deceptikon
0
38

The End.