3,896 Topics
![]() | |
whats wrong with my code? .model small .stack .data buffer db 10,?, 10 dup(' ') .code main proc mov dx, offset buffer mov ah, 0ah int 21h xor bx,bx mov bl, buffer[1] mov buffer[bx+2], '$' mov dx, offset buffer + 2 mov ah,09 int 21h ret mov ah,4ch int 21h … | |
Facebook, home of the [URL="http://www.daniweb.com/blogs/entry4346.html"]104 year old Frisbee Queen[/URL], would appear to have taken a disliking to large parts of Wales. You know, that rather lovely country which borders England and forms part of the United Kingdom. Wales even has a devolved Government in the Welsh Assembly, something the Welsh … | |
The stock market is up about 10 points, trying to find some buoyancy after yesterday’s big 400-point gain. Traders credit two events for the quick market turnaround: Citi coming out and saying it actually made a profit during the last quarter and Federal Reserve Chairman Ben Bernanke announcing that the … | |
Earlier in the year I clipped out a few expert predictions on technology stocks for 2009. From time to time, I’ll check in and see how those stocks are doing. It’s only six weeks into the new year, and perhaps it’s not fair to check in so early. Still, conditions … | |
Henry Ford, father of the mass production assembly line, would have hated Linux although embracing it today might help pull his company out of its current financial nosedive (Current stock price under $1.50 per share). Ford held 161 patents and if he were alive today, some of those might well … | |
Gentlemen, start your engines. Google App Engines, that is (and ladies, too). That was the word from Google tech lead Kevin Gibbs in his keynote speech at the annual [URL= http://code.google.com/events/io/] Google I/O conference [/URL]today at the Moscone Center in San Francisco. The company in April introduced [URL= http://code.google.com/appengine/] App … | |
As I said before, I'm a huge gadget girl. I had the opportunity earlier this month to test out the very cool [URL="http://www.jawbone.com"]Jawbone[/URL] bluetooth headset for my Treo 755p. I have to say that I'm very picky about my headsets and like making the right investment for something that may … | |
If you've ever had the (un)fortunate experience of having to work closely with a lawyer, you know that their profession seems to have it's own language. In fact, there are actually courses in law school that teach future attourneys to speak this strange mish-mash of English, French, Latin, and Greek. … | |
Well, for all those who do not know me: my name is arun. But this name is all too common in this world. So well for online purposes I have another name - deostroll. How I got that name? It wasn't assingned to me by someone; rather I had come … | |
A couple of years ago, I thought I would never have seen an "Intel Inside" sticker on Apple hardware. Looking at the news today, I was surprised at the revelation that Intel Macintosh hardware can now run Win XP SP 2! Somebody please check if hell froze over. WOW. Go … | |
A quick way of spying inside of a process. You could also turn this into something like a disassemble, pretty easy, if you wanted too. Quick Notes: The inline assembly is GCC dependent(quick fix for other compilers), and in MinGW you need to link th32 and gid32. The code flow … | |
First it is in RosAsm style. Sorry I am addicted to its simplicity of use. The Proc is called from Dialog initiation [CODE] [Counter:D$ 0] ; Call for the first ToolTip Call SetTTip D$hdlg, ; H Dialog Handle of Dialog or Window 1, ; Tool tip number ID 1, ; … | |
This is a very simple program that uses text mode to display a boucing "ball." The ball is just a character that moves across the screen, erasing all in its path. It is coded to work like a screensaver, so the program ends when any key is hit. NOTE: I … | |
I use GetTickCount in a lot of my applications, so I built this snippet to convert to hours minutes and seconds. Leading extraneous data is excluded from output. | |
User can enter an ascii string of up to 48 characters consisting of 1's or 0's, with randomly interspersed whitespace. IE: [B]1011111001011110 [/B]will be evaulated equally to [B][1011][111....cc001cccx01 111hhhh0 [/B]Algorithm parses from right to left so will be truncated at 16 position Purpose is to give all those still programming … | |
[LEFT]This is a program I wrote for my x86 assembly class which revolves a "roulette wheel" around. Wait about a minute and it will eventually slow down to a stop. It uses Irvine32.inc which came with the textbook.[/LEFT] | |
This is a program I wrote for my x86 assembly class which bounces an ASCII ball across the screen. It uses Irvine32.inc which came with the textbook. | |
FASM can output an executable PE directly, but sometimes you want to output an object file for linking with modules in other languages. The following program can be used to link with the C library of the GCC compiler with the following commands: C:\>fasm hello.asm hello.obj C:\>gcc hello.obj -o hello.exe … | |
Some languages are hard to get started in. FASM appears to be one of these languages because the documentation is not detailed enough for a beginner. That's a shame because FASM is (in my opinion) one of the better assemblers. The following snippet is a simple Hello, world! program which … | |
There are numerous calls to Win32 API that return detailed information as to failure via GetLastError (). I've devised a method by which to get the textual information corresponding to error and the address of the call that caused the violation. If GetLastError () returns null, then it can serve … | |
A test program that will call the PROC findGCD, passing in the integer values input by the user and then it will display the results to the screen. | |
A program that will test the Nonrecursive Factorial procedure using a value passed in by the program user and will also do a time comparision of the Nonrecursive and Recursive Factorial functions. | |
Additional features will be added to this section of code such as fixing window size proportial to monitors resolution and subclassing the single edit control of this program. You'll notice I don't call ShowWindow here as WS_VISIBLE in windows style is defined. | |
I've often wondered why M$ didn't make creating a window a simple as registering a class in that only one 32 bit value need be passed to calling routine. Although this is not ground breaking code design it does facilitate calling code only set EBX to point to all values … | |
I prefer to use this method as it doesn't clutter a windows procedure with dozens of conditionals and it address my primary objective of coding as tight as possible [28 bytes]. If you think my method can be improved upon in size and/or speed please post your solution. Note: I … | |
The next few posts will be what's required to get a window to display on the monitor. The code between Main & Pump will probably change as time goes on, but for now this is all that is required. I choose this method or placement because only 28 bytes of … | |
These are a pair of routine I use quite often. I know MemSet is virtualy the same as ZeroMemory in kernel32.dll, but there may be a time I want to use these in an embedded system where this dll won't be avaliable. | |
As part of a larger hobby project that I'm undertaking being a doubly linked list for 95/98/XP, this is the first in a series that I will be posting. Upon completion, I will have a complete application written in assembly for the Windows platform. Compiled with NASM | |
I have created the WCF service which will convert the Office document into XPS file. I did using Microsoft Interop assembly Microsoft.Office.Interop.Word.dll Microsoft.Office.Interop.Excel.dll I am using silverlight application to show the XPS file. When i run the silverlight application with WCF is in same solution it is working fine. I … | |
Hello, Im trying to open a new windows form by clicking in a menustrip item. Its not the first time I make that but now it doesn't work and I dont know why. Here it is the code I have: [CODE] private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutBox about … | |
Select One. I just spent about 3 hours deploying an ASP.NET application and it made me wonder what others think. | |
i'm have Error above. I'm try all you answer but not completed. I'm user VS 2005 and .net framwork 3.5 on vista Ultimate Please. [QUOTE]Error 1 Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [/QUOTE] | |
hi i download ajax tool kit..3.0.30512.1 n also installed .net framework 3.5 n i add the dll file into my project bt when i drop any of the control of ajax it shows the following error: [COLOR="Red"]Error 1 Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has … | |
Hi, i have a running .NET application, lets's call it App1.exe that i cannot modify, in that application i have a custom class, (CustomClass1) , can i access and manipulate an object of that class on App1? i want to be able to access the object, and read or change … | |
Hi expert, I'm facing a problem when i try to update the database, below is my code: Dim conn As New OleDb.OleDbConnection Dim strSQL As OleDb.OleDbCommand Dim ra As Integer Dim num conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=C:\employee.mdb" conn.Open() strSQL = New OleDb.OleDbCommand("Update [emp] Set e_name = '" & … | |
Hello, I'm beginning in the OS development(In Assembly, Nasm as Assembler) and i need to implement a command-line on it, but i don't know how to do this, but what i want to say as command-line is like MS-DOS or UNIX: [CODE]> ver BerlOS v.0.0.1 > _[/CODE] But i don't … | |
Hello everyone, So, far i have worked on employee management system(sap - abap), inventory payroll system (C lang), Reverse engineering(assembly),Quiz (VB). Now i want to work on java so that i connect my project with any server file like Sql connectivity,ms access, ms excel etc (i don't know how to … | |
I'm having a ton of trouble reading the text from a file into an integer array, the file contains 3 lines of 1,000 integers from 0 to 1. The array is myArray[3][1000]. So far I've tried to use a stringstream to no avail and I've attempted to use a few … | |
isnt it an good idea to make an sticky where everyone can post, simple examples? or mini tuts to get peaple started with asm? like this an masm example: [CODE=assembly].model small .stack .data .code main proc mov ah,1 ; dos int 21 interupt ah =1 to int 21h ; get … | |
[CODE=C]#include <stdio.h> #include <math.h> #include <string.h> #define N 100 void exit(); int main() { int n,n1,n2,bin[100],i,j; printf("Enter Decimal: \t\t"); scanf("%d",&n); n=n; n1=n; n2=n; printf("\nEquivalent Binary:\t",n); for(i=0;n!=0;i++) { bin[i]=n%2; n=n/2; } for(j=i-1;j>=0;j--) { printf("%d",bin[j]); } printf("\nEquivalent Octal:\t",n1); int r[10]; for(i=0;n1!=0;i++) { r[i]=n1%8; n1=n1/8; } i--; for(;i>=0;i--) { printf("%d",r[i]); } printf("\nEquivalent Hex: … | |
I've been working on this for hours! the code makes perfect sense, but wont' work!!! aaah! about to pull my hair out. the code is suppose to do get the sum of this 1/1 + 1/2 + ..... + 1/n I blocked all the codes and just print out the … | |
how do you do a square root in MIPS? I have to write a program to find the hypotenuse of a right triangle and I'm stuck on this part. Please help. | |
Hi expert, i facing a problem when i try to connect to database by using vb.net below is my code: Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim dSet As New DataSet Dim da As OleDb.OleDbDataAdapter Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim User, … | |
Hello, I'm starting in Assembly development. Then recently i buy a book of Assembly, in it i have the table with the decimal numbers to hexamals and to binarys, like this: [code=asm]Dec - Hex 1 - 01 2 - 02 3 - 03 4 - 04 [...] 10 - A … | |
Hello, I'm learning Assembly and every time that i ask something here in this forum of Assembly the person that reply me is @wildgoose, that is a person that answer to you with respect, gently and much of learned things in Assembly, because of this things and many others i … | |
ok im kinda new to this forum and new to assembly as well. i was given a homework on tasm if someone could help me fix or add or delete some codes in wat ive place thank you very much.. program is about adding two input charactars like 1+1=2. ive … | |
Hello, I'm learning Aseembly and i want to know how i can adaptate this line: [icode]times 510-($-$$) db 0[/icode] for run it in emu8086. Thanks, Nathan Paulino Campos | |
Hello, I want to write a *.bin(Assembly compiled file) to an floppy drive, but i don't know how to do this, remember that i have to write to the cylinder 0, head 0 and sector 1, because it's an boot program, only if needed here is the code: [code=asm]; directive … | |
Hello, I'm beginning in Assembly development. When i try to print a word using the variable type DB with the name message, but when i try to execute this program, emu8086 only show me a dialog, not the message, here is an screenshot: [url]http://xs142.xs.to/xs142/09345/imagem568.png[/url] [code=asm]#make_COM# ORG 100h ; COM file … |
The End.