3,896 Topics

Member Avatar for
Member Avatar for mayafree2002

I would like to convert string into number but AVR-8bit only has 8bit in a register and data stored as hex, not decimal. I can, however, only string less than '256' and store it into 1 register only. For example There is a string .DB '123456' I would like to …

0
52
Member Avatar for Motvel

Usually the keyboard place the scan code for that key in the port 0x60 and then we read from there. The question is: It's possible to access directly a memory location and to place the scan code, and then read from there? (suppose Memory Range from a USB port start …

0
58
Member Avatar for Tank50

HI Guys Iam developing a windows service,In that service I send a email,so i using lotus notes to send email,according to artical in internet,I used Lotus domino object.After I created setup its works properly,But when I need to start new project that also about sending email from lotus,then Once I …

Member Avatar for Tank50
0
119
Member Avatar for yeap7

I'm new to .NET , Ill appreciate any help . I have created a user control in a class library and embeded it in an ASP web site. (for now the control does nothing , just dispalys a button ..) I have given it a strong name , and addede …

0
69
Member Avatar for carson myers

I wrote a quick program into the memory using debug in an ms-dos prompt. It should output the alphabet in uppercase, and then in lowercase, like so [code] ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz [/code] instead, it writes it in uppercase and then in lowercase again and again and again until I ctrl+c the program …

0
62
Member Avatar for laguna92651

I am new to assembly programming. I am programming for the MC68HC12. I was given a program with the opcodes XDECI, SR, Xprnt etc. I can't find any of these in my text book for the MC68. Are they for another processor, when I try to compile in CodeWarrior every …

0
64
Member Avatar for The Dark Knight

Without using MUL, IMUL, DIV, IDIV instructions and any iteration, find the product of 25 and a value in BL. save your result in DL . this is a task which i need some help in .. because i cant seem to figure how can we multiply without any iteration …

Member Avatar for carson myers
0
94
Member Avatar for Tank50

HI Iam using domino object to send email from my project,and after Programs execute correctly,but I uninstall the lotus application and install it again,and now i have domino object 1.2 version,something like that,once I run the application it gave me error messages.Below I mention what is error message,pls help me …

Member Avatar for Jugortha
0
115
Member Avatar for spick

basically I have a form with 3 fields, ID, NAME and ADDRESS. What I want to do is after I enter my ID it will fetch the NAME and ADDRESS data from my access database. I want it to fetch the data after I finish entering the ID, but the …

Member Avatar for Teme64
0
92
Member Avatar for raavi.munaf

Can any body show me the code to use usb mouse as an interface device [B]ie usb mouse driver code in .asm[COLOR="red"]?[/COLOR][/B]

Member Avatar for raavi.munaf
0
123
Member Avatar for BestJewSinceJC

I read about data forwarding and according to my notes, a nop (no-op) is required before a beq operation and after a lw operation. What about sw?

0
61
Member Avatar for flash121

Hello! I've started learning assembly and I have some problems with a program. I'm trying to write a program that would print some text x-times (x would be inputed by me), but I always get an infinite loop, because it seems that the counter value doesn't get updated in the …

Member Avatar for flash121
0
144
Member Avatar for pocku

I'm having trouble with drawing squares on the x86 assembler using the XGA 8-bit linear frame buffer. I'm suppose to draw a large square containing a grid of smaller 12x12 squares using my own functions and this is what I have so far: [CODE][SECTION .text] ;---------------------------------------------------------------------------- ; code belongs in …

0
93
Member Avatar for kent01981

Hi, I am doing a doorbell using P16F84A chip. I have programmed in asm in MPLAB 8.10,but the code is not working at all. no any errors show up, but just not working. please help me out. #include P16F84A.inc __CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _RC_OSC errorlevel -302 org …

0
167
Member Avatar for n_borad

Please help me with this program Your assignment is to write an assembler program which does the following: (1) prints your name and NYIT I.D. as a first action. (2) reads in two 2-digit integers, one keystroke at a time, and operates Euclid’s algorithm on them (3) prints the result …

Member Avatar for n_borad
0
126
Member Avatar for BountyX

well lately I have been working on a CPU core for 6502 assembly, and I have been writing it all in c++. However for obvious reasons I was thinking of remaking the core in assembly. First I was wondering if it would be worth it (speed wise) to write functions …

Member Avatar for naradasu74
0
524
Member Avatar for Sci@phy

Hi! I have the following code: [CODE=asm] mov al, 5d neg al[/CODE] When it executes, CF = SF = AF = 1 Ok, I think I understand why AF (number is bigger than 00001111b ?), SF (most significant bit is now 1 not 0) But what I don't understand is …

0
120
Member Avatar for smart_pc

please can any body tell when a new OPERATING SYSTEM kernal works then how it reads the hard disks .Is any body is interested in operating system developement. We are trying to make an OS which is independent in nature .Not UNIX type or WINDOW any body interested can send …

Member Avatar for ArkM
0
108
Member Avatar for zafirah_bashir

i add two numbers but wen it cums to displaying the res by using service 2 of int21,,,,i get the res in hes,,i want same in dec,,,i meam like add 02,01 dispalys a res which stands for heart symbol so that i get a heratsymbol as a res instead of …

Member Avatar for NotNull
0
127
Member Avatar for seanl1

So I went to my prof. for help with a particular problem and this is the answer I got. I understand the majority of the answer but I have a few more pointed questions. 4. (6 points) A computer has 32-bit instructions and 12-bit addresses. Suppose there are 250 two-address …

Member Avatar for ArkM
0
553
Member Avatar for raka_78

Hii I'm design a device using PIC16f877A, and this device have 2 input ADC. I have a problem on how to multiply 2 input from ADC. Can anyone help me, to solve this problem? a sample program will be appreciate:) so I can study it.

0
55
Member Avatar for readwell

this is my main program some of my code is working from here to where i made a comment. let me explain what i am doing so far if i input a number let's say 63 111111 my program is setting this value into 00101110111 which is correct but now …

0
55
Member Avatar for bmwadd1ct

Your probably wondering what the title refers to so i jump to point. My dad likes writing simple programs and securing it with ridiculous forms of security that are usually easily bypass. THis time however, tired of me making jokes of his "security" he's actually done something not easily bypassed …

0
50
Member Avatar for Sci@phy

Hello to all of you! I would really appreciate somebody telling me complete step by step tutorial how to work with MASM (or TASM, but I haven't noticed it's free to download) I've tried myself MASM and TASM (some Telemark assembly, not Borland), but for some reason it won't work, …

Member Avatar for NotNull
0
120
Member Avatar for carson myers

I'm playing with assembler trying to get it figured out and I wrote this program that was supposed to have two values, 0 and 10, and add to the 1 and subtract from the 10 and loop, each time displaying both values, until both of them are equal... [CODE] 0 …

0
46
Member Avatar for mathematician

Almost every site I look on has at least one, and probably more, people who are going to write their own operating system. What's the point? When its finished the chances are nobody is going to use it - probably not even you. I might not mind spending a few …

Member Avatar for NotNull
0
128
Member Avatar for carson myers

Okay, so I'm well read in VB and quite an avid VB programmer but I realize that programming in visual basic isn't very marketable and above all I only use it for fun. I wanted to move to C++ but noticed that it was a LOT harder, and worked completely …

Member Avatar for NotNull
0
116
Member Avatar for mrkcse

hi all, here i got strucked on auto incrementation of version using c# ,iam trying to do it programatically but i could able to change version number in variables but iam not able to write it back as it is read only.Is there any alternative for this?. my code is …

Member Avatar for mrkcse
0
115
Member Avatar for smart_pc

using c we can develop an o s but where will it run or start to execute. who will execute the instructions of the kernel ? how to make a kernel,any idea or hint ? where do we get those low level services provided by assembly language functions ? there …

Member Avatar for jbennet
0
110
Member Avatar for jakethesnake86

I'm still working on the same project as in my previous post, [url]http://www.daniweb.com/forums/post723480.html[/url]. Its a program that should serve as an assembly code debugger. For simplicity I only use one instruction, ADDI, here. The program should read the instructions from a text file, load the desired information onto the registers, …

Member Avatar for ArkM
0
129
Member Avatar for king_khan

[B]Assembly Language[/B] Q1: For the memory location whose physical address is specified by 1256Ah, give theaddress in segments:offset form for segments 1256h and1240h Q2: If AX=FFFFh and BX= FFFFh the after the execution of the instruction ADD AX, BX.what will be status of the following flags SF,PF,ZF,CF,OF, Q:3 Suppose AX …

Member Avatar for NotNull
0
160
Member Avatar for phingphing

I tried looking high and low for a sample of writing a code for a Binary Tree, there isnt one or i must have missed it somewhere. This is what i would need in assembly language. [code] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; insert Insert a new node in a binary search tree …

Member Avatar for NotNull
0
3K
Member Avatar for luken8r

Im modifing an assembly module to add a branch to a new C function but I cant seem to get it working right. My stack is crashing and I cant track it down because, unfortunately, I dont have an emulator The original asm file is a 16 bit signed division …

0
67
Member Avatar for sAeNxNyA

anyone have any iddea of how to do booth algorithm using tasm to add multiply 2, 32 bit and store it in a 64 bit register

0
37
Member Avatar for easy2mem

Hi. I have been working so hard to write this second stage loader but I cannot for the life of me figure out why it is not working. In my second stage loader it does not seem to load my kernel from disk. I have a view test points where …

0
66
Member Avatar for cam875

Ok ive been working with bootstrappers and writing them in assembly for a little bit now and I can get it to work and understand how the bootsector works when it comes to hard disks and floppy disks but when dealing with flash memory like my USB flash drive im …

Member Avatar for NotNull
0
129
Member Avatar for fleahman

[code]08048e19 <phase_2>: 8048e19: 55 push %ebp 8048e1a: 89 e5 mov %esp,%ebp 8048e1c: 83 ec 38 sub $0x38,%esp 8048e1f: 89 5d f4 mov %ebx,-0xc(%ebp) 8048e22: 89 75 f8 mov %esi,-0x8(%ebp) 8048e25: 89 7d fc mov %edi,-0x4(%ebp) 8048e28: 8d 45 dc lea -0x24(%ebp),%eax 8048e2b: 89 44 24 04 mov %eax,0x4(%esp) 8048e2f: 8b …

Member Avatar for NotNull
0
123
Member Avatar for Yamachi

I'm currently writing a program in vb.net 2008, that is split into the main program and several DLLs (of which the user can select 1 to use). In the DLL, I have a function that reads data from a filestream into a structure, then returns the structure. While trying to …

Member Avatar for Yamachi
0
134
Member Avatar for dragonboy269

Basically I'm looking for a special kind of Hex to ASM converter. I'm using a device called Action Replay (basically, it's a hex editor for Nintendo DS games) and I'm attempting to make codes for it using ASM (which I then convert into hex using a program, which I already …

0
53
Member Avatar for monkey1

I have to alphabatesize the words in a string. I have the string which is fixed and loads into a register. Now the compiler has to print the words in alphabetic order. For eg Inpt: How are you Output:are How you. Please help me. I am struggling with it.

0
54
Member Avatar for urufukiba

hey all, im wondering how you declare a variable in a string. like say i want to declare a string saying "The number should be no less than X" and I want the X to be able to vary depending on what I have the variable for it at. i …

Member Avatar for NotNull
0
92
Member Avatar for mustafaneguib

hey guys how are you all? i am working on a mini screen saver which moves the character 'A' to the end of the screen that gives the effect of it crawling on the screen. the problem with it is that the speed is too fast and i can see …

Member Avatar for NotNull
0
125
Member Avatar for Motvel

Hi, i want to copy a string from a register (SI), into another register (DI). But, before copying i need to scan the string for blanc space. If there is more than 1 blanc spaces (SI), i need to replace all blanc spaces with one space and put in DI. …

Member Avatar for NotNull
0
80
Member Avatar for Alex Edwards

This makes me slightly curious... Why is there assembly code for the string class of C++? [code=asm] page ,132 title strlen - return the length of a null-terminated string ;*** ;strlen.asm - contains strlen() routine ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; strlen returns the …

Member Avatar for ddanbe
0
1K
Member Avatar for gp04lch

hey guys, was having a great time with SkyBound's FreeStyle when i ran into a very funny problem. On removing a tabpage from the tabcontrol which is using the FreeStyle component, i get an error when executing the following line: [CODE]this.Controls.Remove(this.TabPages[SelectedIndex]);[/CODE] exception thrown is: System.ArgumentOutOfRangeException was unhandled Message="InvalidArgument=Value of '0' …

Member Avatar for LizR
0
146
Member Avatar for gp04lch

hi, i've downloaded the SkyBound VisualStyle dll and have included it in my custom tabcontrol. the purpose is to enable the control to retain the default windows style even after i set the DrawMode to OwnerDrawFixed. problem is after i added it into the control and set the SetVisualStyleEnhanced property …

Member Avatar for gp04lch
0
153
Member Avatar for panpanf

I wanna learn c++ by looking into the assembly language generated by visual studio. But i can't find a complete reference aoubt the usage of ml9. Is masm329 is tha same with ml9? If they are not the same, which one is better to write assembly language in a win32 …

Member Avatar for Ancient Dragon
0
90
Member Avatar for cam875

Ok ive actually got a bootstrapper going and can display text using int10h using the BIOS interrupts but im wondering is this the only way to tell the computer what to do at the lowest level, by communicating with the BIOS service interrupts, how does windows and stuff do it.

Member Avatar for cam875
0
76
Member Avatar for panpanf
Member Avatar for matejkralik

Hello people, Can somebody tell me how can I use ConfigurationManager? What using assembly should I declare? There is very useful [URL="http://msdn.microsoft.com/en-us/library/ms254494.aspx"]article[/URL] which features I want to use in my code but my express edition is unable to recognize ConfigurationManager, ConnectionStringSettings,... How to solve this?

Member Avatar for ddanbe
0
141

The End.