- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 9
- Posts with Upvotes
- 6
- Upvoting Members
- 9
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hobbiest developer ia64
- PC Specs
- Ubuntu 12.04, Intel dual core,
I'm in the process of designing a console personal/business finance package for Linux. It's easy to identify the advantages of data abstraction through classes, but I'm not inclined to become proficient with STL or containers. Exception handling may become a consideration, but definitely memory allocation via "new". My own implementation … | |
For those interested in operating system development, this snippet tests status of A20. It is the line that allows memory beyond 1 meg to be addressed, otherwise it will just wrap around which some applications and versions of DOS depend on. My bootloader **MBR1_44** has switched system to protected (*32 … | |
Re: Write a program that displays the same string in four different colors,using a loop. Call the SetTextColor procedure.Any color may be chosen, but you may find it easiest to change the forground color. Include irvine32.inc .data Str BYTE “This is the string”, 0 Color BYTE red,yellow,blue,cyan .code Main PROC Mov … | |
Re: Can anybody tell me how can i calculate x decimal numbers of pi, if my input is 2 than output should be this 3.14 if my input is 4 then output is 3.141. I have tried code like this but doesnt work how i want. pi +=3+4/(k*l*m) - 4/(a*b*c); //+ … | |
This will take a value in EAX or AX, convert to ASCII hex with optional padding and upper or lower case This example would yield "---fc103a" push word 0x222d ; 32 bit conversion, padd output with '-' push word ASCPntr ; Pointer to end of conversion buffer push 0xfc103a call … | |
Re: HI everyone, I need help in c++. Problem : I want to write a program that calculate x digits of pi. Like if my input is 3 output should like this 3,14 or this 3,145 if my input is 10 output should like this 3,14529xxx or lik this 3,14529xxxx. I … | |
Re: Write a program to check the password is too strong or strong or weak & also check the password is validate or not.. you can use code of c/c++ and you want .... | |
Re: Use an array to store the grades. Use a looping structure to populate the array. Calculate the numeric average based upon the 4 equally-weighted numeric grades. Display each of the 4 numeric grades from the array on the screen using a looping structure. Display the numeric average. Create a function … | |
Re: # we get month for (month=days/30;) years for ( years=month/12;) but we also get days for(( days=days%30, why it happend explain ??)) # | |
Re: plz help me to solve the problem..add some more code in c/c++ related to show that the output will be password too strong or strong or weak.... #include <iostream> #include <cstring> #include <cctype> using namespace std; bool testPass(char []);//function prototype to check password int main() { char *password; int length; … | |
Re: Hi all, What is the best sorting algorithm for a doubly linked list? Insertion sort and merge sort appears to the best due to the less overhead compared to the bubble/selection sort. Would like to know your insights on this. Thanks. | |
This is a special purpose boot loader for a system I've called Proto-Sys. Eventually it is going to become a 64 bit application that will encompass all the resources to hook into drivers, benchmark code and optomize algorithms. Synopsis: * Preserve registers as they were passed by BIOS * Create … | |
Re: From what I understand a DBMS is a software that manupulates a database. I am developing a retail checkout system which is link to a SQL database. Is that consideres as a DBMS? | |
Re: Can anyone tell me how to move the carry, to another register. because I'm using the ror command to put bits into the carry but unsure how to move take the carry value and store somewhere else | |
Re: Hi Everyone, How important is for computer programmers to learn assembly language.I am a C# programmer and i haven't program in assembly language at all.Is it really worth learning assembly language for high level language programmers. Thanks. | |
I'm pretty comfortable with "C", but where I lack, is understanding what types of options must be passed to compiler to produce the tightest code possible. Here is an example of a formula in "C"; int ADDR = VIDEO_BASE + (WND_X + POS_X) + ((WND_Y + POS_Y) * SCR_X) * … | |
Re: Howdy; I am currently working on a program to review what I have learned so far, in the PCASM book written by Dr. Paul Carter. I have accomplished 3/4ths of my overall goal, however; my program doesn't seem to like me especially the division part of it. The goal of … | |
Re: Howdy; I have been studying on my lonesome, in hopes of becoming more in touch with assembly, and feel that I have been doing pretty well so far. However, I do have a few questions, including: - What is the major/minor differences between a signed, and unsigned number? When do … | |
Re: 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 … | |
This code will not work on EMU8086 or any processor prior to 80286. Line 40 would need to be changed. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Hi guys I got a question about how to reversethe little endian. My questions is how do I do it. Say the user inputs hex 4423, how do I get it to reverse in the program to read as 2344? and help would be greatly appreciated. I need this because … | |
Re: I'm learning the PIC16F690 and I'm trying to program it to do a simple operation, move over one led each time the single button is pressed and then reset. I'm not asking for code, just if I can bounce ideas of how to implement this off someone who can maybe … | |
Re: Hi I am trying to write a program that counts the number of letter in a string. My code compiles fine but doesnt work when I run it. My output should be "Capital letters appear x times in y" Where x is the num (from my code) and y is … | |
Re: Are the following MOV instructions correct? MOV DS,[SI] MOV [SI],DS MOV [SI],2000H Thank you. | |
Re: i had a question in exam in the question we need to convert an int64 number to string how can i do that i really dont know that plz someone help me |