3,896 Topics

Member Avatar for
Member Avatar for Blackeagle

Hello, can someone help me to figure out how i can print the content stored in si ? suppose i did: sub si,si inc si ---> repeated this few time. how can i print the number in SI on the screen?

Member Avatar for NotNull
0
123
Member Avatar for cliffaem28
Member Avatar for murugeshkumaran
Member Avatar for cliffaem28
0
53
Member Avatar for llemes4011

Hi. I decided that I wanted to try something hard - write a program that allows 2 different mice to be used simultaneously by the same computer. I realize that this is going to be very difficult, and require not only C++, but probably some low level C, if not …

Member Avatar for Clinton Portis
0
104
Member Avatar for styles_p

Hello I'm a newbie of nhibernate And i would like to use the NHibernate Mapping here is my mapping file <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="HibernateCollaborator.Core" namespace="HibernateCollaborator.Core" default-access="property" default-cascade="none" default-lazy="false" auto-import="true" > <class name="User" table="Users" lazy="false"> <id name="ID" column="ID" type="Int32" unsaved-value="0"> <generator class="native" /> </id> <property name="ForeName" type="string" length="30" not-null="true"> …

0
78
Member Avatar for shopnobhumi

what would be the recursive implementation of the following c program: int fact(int n) { if (n == 0) return (1); else return(n*fact(n – 1)); }

Member Avatar for eng.ehsan07
0
129
Member Avatar for 825

please can anyone help me with this homework i do not know what to do. thank you 1. Write a program that will count from any user-inputted number to 0. For example, if the user inputs 5, the program should output: 5, 4, 3, 2, 1, 0.

Member Avatar for b1083
0
118
Member Avatar for woolm110

Hey all I'm currently setting up configuration for my webpages and i'm having trouble with Admin access. I'm using MS Access to store everyones details, within the database i've created an Admin user. I'm trying to configure the web.config so I can set access to pages for different users, everything …

Member Avatar for kvprajapati
0
150
Member Avatar for obini

Hi, i'm new in this forum and i need help with mips assembly. I wrote this code but i can't found the error. [code]#Convert from decimale base to binary one using recursive procedure .data prompt: .asciiz "Insert decimal number: " output: .asciiz "The number in binary base is: " .text …

Member Avatar for obini
0
2K
Member Avatar for Fenrir190

[CODE] ;==================Prompts=============== warning db "Invalid order. The dividend should be greater than the divisor",0 prompt1 db 0dh,0ah,"Please enter a dividend ",0 prompt2 db 0dh,0ah,"Please enter a divisor ",0 Display db 0dh,0ah,"Quotient: ",0 Display2 db 0dh,0ah,"Remainder: ",0 ;==================Variables============= dividend word ? ; Holds the dividend divisor word ? ; Holds the …

Member Avatar for NotNull
0
157
Member Avatar for Goalatio

Compile this with NASM16 (Must be compiled in .COM format!) It will display all 256 colors usable by the BIOS in a neat rectangle that contains 16 columns, 17 rows (Just counted, it may be different). KNOWN BUGS: If you enter FULLSCREEN or run this program from a DOS operating …

0
566
Member Avatar for rushabh_one
Member Avatar for Goalatio
0
92
Member Avatar for RayvenHawk

Ok I have an assignment that requires me to create 3 macros to do 3 different function. I have the first one completed but the 2nd two are giving me some trouble. #2) Write a macro that takes in 2 32-bit integers and divides the first from the second and …

Member Avatar for RayvenHawk
0
132
Member Avatar for goldenz

STDOUT equ 01h get_date equ 02ah get_time equ 02ch write_handle equ 040h terminate equ 04ch DOSINT macro function, subfunction IFB <subfunction> mov ah,(function AND 0ffh) ELSE mov ax,(function SHL 8) OR (subfunction AND 0ffh) ENDIF int 21h endm Delay macro local ulang local ulang2 push cx mov cx,50000 ulang: push …

0
51
Member Avatar for Contensive

For a long time, we have used VB6 activex dlls as our plugin strategy for our application. Works great. Now we want to include dotnet assemblys. We are working on the strategy to create objects for the plugins (late-binding-esk). I have the file path of each plugin, and have figured …

0
43
Member Avatar for styles_p

[CODE]<?xml version="1.0"?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="HibernateCollaborator.Core" namespace="HibernateCollaborator.Core" default-access="property" default-cascade="none" default-lazy="false" auto-import="true" > <class name="ProjectRole" table="ProjectRoles" lazy="false"> <id name="ID" column="ID" type="Int32" unsaved-value="0"> <generator class="native" /> </id> <property name="Name" type="string" length="30" not-null="true"> <column name="Name" sql-type="varchar" length="30" not-null="true"/> </property> <property name="Permission" type="byte" not-null="true"> <column name="Permission" sql-type="tinyint" not-null="true"/> </property> <bag name="ProjectParticipations" lazy="false"> <key column="PRoleID" /> …

Member Avatar for kvprajapati
0
62
Member Avatar for neighbordave

I am totally lost when it comes to assembly language. My teacher just decided one day at the end of this semester to give us a programming assignment in assembly language and has barely taught us anything. I have to use five subroutines: main, add, subtract, multiply, divide and cannot …

Member Avatar for ProgramIT
0
1K
Member Avatar for cabosun

So I have two MAL programs that I am getting 2 errors in each of them. I am using xSpim on unix to run this program. I wrote this using the windows version PCSPIM which compiled the program and ran it flawlessly. But when I tried to run it using …

0
86
Member Avatar for Jeff_5_7

Here is my assembly lang program. [CODE] mov dh,0 C: sub bl,cl mov al,bl mov ah,0 mov bh,2 div bh cmp ah,0 je A mov al,cl mov ah,0 mov bh,2 div bh A: mov al,cl add dh,al add bl,cl add cl,1 cmp cl,bl jle C[/CODE] I am trying to convert …

Member Avatar for marcel222
0
233
Member Avatar for Iam3R

The Programming languages started with the low level language( 1's and zero's , so no conversion is needed. Assembly language is used mnemonics ( ADD,INC,DEC) so needs conversions as the machine cannot understand it directly. there comes the Assembler. Now the question is how the Assember was implemented, i mean …

Member Avatar for Iam3R
0
97
Member Avatar for marcel222

Hello, My name is Marcel and I am new on this forum, I have a question about the following: I am working on a 16 bit application for a AM186ES processor (x86 compatible), this processor has no internal ROM or RAM. My application will be stored on a PC-Card from …

0
49
Member Avatar for IcetalkeR

Error 1 The type or namespace name 'RegularExpressions' does not exist in the namespace 'System.Text' (are you missing an assembly reference?) C:\Documents and Settings\IcetalkeR\My Documents\Visual Studio 2008\Projects\SciSem\SciSem\CodeFile1.cs 2 19 SciSem What do I do?

Member Avatar for IcetalkeR
0
109
Member Avatar for Goalatio

Hey again everyone, it's been a while since I've posted here.. What I'm trying to do, is get the command-line argument and convert it to hexidecimal. Example, if the file is named 'test', you would call it with test 72 Or something similar. I have it working, but after MUCH …

Member Avatar for Goalatio
0
296
Member Avatar for losh177

Hi, I'm trying to manually translate 16-bit assembly intruction into the format Instruction Prefix-Opcode-ModR/M-SIB-Address Displacenebt-Immediate Data for an Intel8086. I'm having problems trying to figurit out when to use the respective values for the Mod, the R/M. If anyone could point a good book or site for this type of …

Member Avatar for losh177
0
154
Member Avatar for laguna92651

I am starting to write a assembly program for a mc68hc12. I will be reading a 8 bit signed number into PortA and outputting the results to 7 segment LED's, common anode. I will be using Port P to ouput the segments and PortCan to control the LED's displayed. I …

Member Avatar for chrisname
0
115
Member Avatar for ahmedlibrian

Hi guys, Anybody can help me out with this. I have made a DLL with VB.net. Under project settings i have marked checked 2 things 1. Register for COM interop 2. Make assembly COM visible When i build project its done successfully. Now i take DLL file from project location …

Member Avatar for kvprajapati
0
525
Member Avatar for splurchner

The following program is written in MIPS and is supposed to calculate values based on the input of an integer. When its run through SPIM I get an error on the last line that doesn't make any sense to me. If anyone can tell me whats wrong it would be …

0
67
Member Avatar for Japus

Hello I've got a project running at school where I've got to create Pacman, everything is going great. But I want to load an image to use as ghost, background or pacman. Currently it's a square which is pretty stupid. But how can I convert the image from jpg, gif …

Member Avatar for ov3rcl0ck
0
246
Member Avatar for willopt_ric

Actually i want to add roles to my asp.net application.....how to do do that programatically??? i did in c# like... Roles.CreateRoles("admin") but its showing error:c:\inetpub\wwwroot\RoleMgtTest1\WebForm1.aspx.cs(75): The type or namespace name 'Roles' could not be found (are you missing a using directive or an assembly reference?) Can ny one plz help …

0
64
Member Avatar for kekekerush

Let's say you have some code in the .data section: [CODE]doodle db "*****,3,*****"[/CODE] Is there anyway to change the ,3, into something else? (Perhaps a smiley face or somesuch.) I was thinking if I had the registers all set up, I could do something like: [CODE] ~~assume there is code …

Member Avatar for NotNull
0
98
Member Avatar for yasser87

Hi guys and girls I am writing a program to solve a linear system equations using gaussian elimination method by taking the factors and storing them in a NxN+1 matrix, this matrix can take integer numbers as well as floating point numbers i need help in translating this program to …

Member Avatar for Nick Evan
0
158
Member Avatar for surfer2009

hello everyone. i am in a great need fo hamming disnatce code in nasm(8088). i will be very thankful

Member Avatar for jaodat
0
66
Member Avatar for gianx80

Hi, I'm studying the basis of C, C++ and Assembly languages at my university (I have two exams about these subjects, for now) ... and I have a problem ^^. I wrote a program in C (not so optimized, this isn't our present goal for my professors) that recieves in …

Member Avatar for gianx80
0
132
Member Avatar for Behi Jon

Hi, What is the problem of this program ? It should print intertech systems, but it doesn't do . This program must convert all letters of the string to lowercase character . [code] Page 60 , 132 TITLE A08CASE (COM) Change uppercase to lowercase .MODEL SMALL .CODE ORG 100H BEGIN: …

Member Avatar for Behi Jon
0
212
Member Avatar for riccardo-m

Hi, I'm trying to make a very simple program that will accept a digital input and respond by setting an output high. When the input goes low again, the output should go low and then after a short delay, a second output will toggle high then low. My code below …

0
63
Member Avatar for brando|away

im writing a win32 dll and i need a procedure in this format (C++): [code] int __stdcall procname(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause) [/code] so how can i do this? why won't this work (fasm): [code] section '.data' data readable msg db "Text",0 section …

Member Avatar for brando|away
0
158
Member Avatar for RehabReda

hi guys i want ideas of projects but new one and the project will be done in 3 weeks with a team of 3 persons any idea ?

0
69
Member Avatar for scriptkiddy

Hi, how is the system function done? Atm I am doing it like this: invoke ShellExecute, NULL, addr szopen, addr cmdexe, addr szparams, NULL, SW_SHOW But it requires the program to know the persons homedrive. Is there a system(); function that can be used in assembly? If so, what library …

Member Avatar for functionalCode
0
259
Member Avatar for functionalCode

Hey everyone I am trying to read a hexadecimal registry value from a registry key, I am opening the key and then calling RegQueryEx, but I can't seem to get it right. Can someone post an example. Thanks.

Member Avatar for functionalCode
0
102
Member Avatar for M.K_Soft

hi dears. i wanna sum two 5 numbers to gether. like 12345 + 12345 i used 3 proc. one for get. one for calc and one for print. i can get them but i cant calc them right. please help me.

0
42
Member Avatar for hookah

Write a program that accepts a string from the user. You can assume the length of the string will be less than 30 characters and only lower case letters are entered. Your program should then display the string in sorted order and determine if the string entered is a palindrome. …

0
94
Member Avatar for kungfu71186

I have a project where we have to "clean" a formula. So if [code] 17 + 18/abc454 * (9/10) [/code] is put in then it should output [code] 17+18/454*(9/10) [/code] Well i got that part and what i do is store it in a buffer (.space) because then i have …

0
48
Member Avatar for asmnewbie3

hey all, I'm just starting out with assembly in college and I wrote a program for an assignment to calculate prime numbers, and it works, however if you comment out the line in the code, it gives out this list of numbers: [CODE] 3 is prime 5 is prime 7 …

Member Avatar for NotNull
0
177
Member Avatar for chrisname

I'm still doing some cpuid code; but now I want to get the brand string. I've sort of got about half of it... If you have a browser that supports it; search for "/* relevant */" to seek straight to the relevant part of the code Important edit: if I …

Member Avatar for gusano79
0
125
Member Avatar for manhit45

I want to write using loop . I TRY AND TRY AGAIN BUT unsuccessful. Please help me. HOW CAN I DO THAT ? * ** *** **** ***** ******

Member Avatar for Tight_Coder_Ex
0
67
Member Avatar for scriptkiddy

Hi, I heard that I can see how VC++ 6.0 converts my C++ code to assembly so I can rewrite it in assembly while removing useless junk. Could somebody tell me how this would be done? Well, guess ill just use ollydbg to see how my programs converted

Member Avatar for Ancient Dragon
0
231
Member Avatar for heshanhhh

Hey guyzzz im in trouble ,ma project is this, Develop a thermometer that shows the histogram of the temperatures of last 12 hours. (-You may use the LCD panel as the display. -Current reading should be identified by blinking the current reading.) .................... my coding is working 100% and showing …

0
43
Member Avatar for NotNull

Give me convience or give me death! The would-be programmer is introduced in some way to what could be compared to a CS101 course. He is taught about algorithms, variables, procedures, recursive functions, data structures and arrays. One of the fundamental steps for any program development is ease of program …

Member Avatar for NotNull
0
148
Member Avatar for scriptkiddy

I am having trouble with the following script: [code] .386 .model flat, stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib ;adding all my libs .data nsv db "APPDATA", 0 ;i want to use this in getenv(); fnsv db 260 dUP(0) ; char fnsv[260]; ffn db …

Member Avatar for scriptkiddy
0
218
Member Avatar for magava

Hi.The following program shows switching from RM to PM and back.At the end it has to print "Hello".The problem is it doesn't show the message. Can anybody help me.Thank you. P.S. For compilation use these commands: tasm /m name.asm tlink /x /3 name.asm Here is my code [CODE].386p data segment …

Member Avatar for NotNull
-1
429

The End.