48 Topics

Member Avatar for
Member Avatar for cppgangster

Hi I am developing using C/C++ window application using winapi. I will be using some standard STL containers and some win api functions provided by windows.h. I would like use the app on different windows versions such as windows 7 and 10. The apps will be builded for x86 architecture. …

Member Avatar for zigale
0
572
Member Avatar for ShiftLeft

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 …

0
285
Member Avatar for ShiftLeft

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 …

0
318
Member Avatar for angela.hach.1

Floyd-Warshall(G) n=|V[G]| for (int i=1;i<=numNodes;i++) if connection weightmatrix[i][j]=weight; else weightmatrix[i][j] = infinite; if i=j weightmatrix [i][j]=0; for (int k=1; k<=numNodes; k++) for (int i=1; i<=numnodes; i++) for (int j=1; j<=numnodes; j++) a=weightmatrix[i][k]+weightmatrix[k][j]; if(a<weightmatrix[i][j]){ weightmatrix[i][j]=a;} return weightmatrix, matrixintnode;

Member Avatar for Assembly Guy
0
192
Member Avatar for glight98

Hi every one, I'm a newbie here to daniweb. My computer project is creating an 32-bit/64-bit operating system with x86-64 assembly language and with the (or C++98) C-89 language. This is an interesting hobby, and the plan of my project is to create a simple customizible operating system.

Member Avatar for JorgeM
0
141
Member Avatar for gspeach79

Basically I have to **copy array X to the stack frame and dump the stack frame on the screen before return from the procedure.** The problem is I have no idea how to do that. Also I am not even sure my program is right. I was wondering if someone …

0
116
Member Avatar for jdelgado08

Hello guys, i'm trying to compute the area of a triangle using the Floating-Point stack (FPU87), but i'm having an issue outputting my value. I'm computing the area using Heron's formula: T = sqrt{s * (s - a ) * (s - b) * (s - c) } Note: s …

Member Avatar for ActiveProfessor
0
459
Member Avatar for kww228

I am stuck on trying to figure out a few questions. The questions are listed below. 1: Given the data below, design IA-32 instructions to find the octal string for X and save it in Y. .data X word 200 Y byte 6 dup (' ') 2: Given the data …

Member Avatar for kww228
0
256
Member Avatar for jdelgado08

Hey guys, I'm fairly new to assembly & i'm having trouble iterating through an array; i.e. increasing the index as I loop. I'm working under x86-64 in Linux using NASM. There doesn't seem to be much documentation on the 64-bit architecture. Also, the book i'm using seems to code all …

Member Avatar for jdelgado08
0
1K
Member Avatar for shacknetisp

I am creating a simple Operating System called OneFileOS, and I am wondering if I must use a special version of assembler, or if I can use the regular x86 version. Thank You.

Member Avatar for Ancient Dragon
0
148
Member Avatar for stillfly122

Hi guys. so i wanna code my own Simple Dos-like OS that boots to a prompt with the simple command of "Hello" which should load a message that says "Hello, World!". Would someone be generous enough to give me some source code that just boots and has the command "Hello". …

Member Avatar for NotNull
0
450
Member Avatar for Gold Falcon

Hello! To get straight to the point, I can't seem to get division to work. I haven't been programming in Assembly long, and I've been trying to get this to work for a couple of days now with no success. Anyway, here's my code: [CODE=assembly] section .text global _main extern …

Member Avatar for Gold Falcon
0
351
Member Avatar for QuesoTaco

I am studying viruses and trying to figure out how the FLEX module works for C++. I have taken classes before on regular languages, context free, etc. Is FLEX dealing with regular languages or regular expressions, and also what is the difference exactly? Could you give an example of how …

Member Avatar for gusano79
0
230
Member Avatar for QuesoTaco

So I am taking a class in Viruses and Defense against Viruses. As such there entails much x86 programming. I do know how to program in x86 and the calling conventions and so forth. But that is only because I learned it from my instructor. However, I am not sure …

Member Avatar for iret
0
206
Member Avatar for zalia64

Help! I need to write some code for SIMD, 64-bit Intel X86. I am fluent with Masm; Where can I get a Masm version for 64-bit, and some documentation as to the changes in registers, changes in instructions set, etc? Anybody here has some experience with AVX ? any usefule …

Member Avatar for Tahir007
0
742
Member Avatar for Fluid Mantis

Here's the deal. I'm going to explain it in full so you get a good idea of what's happened. Damn Windows Update started installing a video card driver. My system is a Dell Vostro 430 and has an ATI HD 4350 (I think), but however, for some stupid reason it …

Member Avatar for Ritesh_4
0
314
Member Avatar for thunderbird24

hi everyone! this is my encryption routine (using standard call) in x86 Assembler __ASM{ encrypt: push ebp mov ebp,esp mov eax, [ebp+8] mov ecx, [ebp+12] push eax and eax,0xAA not al mov edx,eax pop eax and eax,0x55 xor ecx,edx xor ecx,eax rol cl,1 rol cl,1 mov eax,ecx sub al,0x20 pop …

Member Avatar for rubberman
0
261
Member Avatar for lu25

please help with a c program for the following ASM.. [CODE] x is at %ebp + 8, y is at %ebp + 12 movl 8(%ebp), %ebx movl $0, %eax movl $0, %ecx .L13: leal (%eax, %eax), %edx movl %ebx, %eax andl $1, %eax orl %edx, %eax shrl %ebx Shift right …

0
131
Member Avatar for Harvarde

Hi folks! :) I'm here with a problem of Assembly 8086 (x86) (NASM). I´m trying calculate the sum of all numbers, which are odd, lowers than X (X = number defined by user) Already solved the problem in C # and C + +, but i need the Assembly Code. …

Member Avatar for davio1
0
930
Member Avatar for wiseguy12851

I know many assembly languages so my question isn't anything assembly related it's C++ related, I understand what __asm does and I've used it before but where's where I'm hung up on __asm drops down to the assembly level for programming although it's not advisable to use it because it's …

Member Avatar for vijayan121
0
269
Member Avatar for makaveli0129

Ok so i have this floppy image that just prints a message now the problem that i am running into is that i have to jump to memory location 0x1000 and then jump back to the original place but have no clue how to do it this is what mbr …

Member Avatar for ko3dm
0
234
Member Avatar for mikeandike22

Ok I have been looking for this for a while it is the ultimate list of repositories for the Ubuntu 6.06 Dapper Drake distro. It will give you so many program choices you wont know what to do. simply goto your terminal and type sudo gedit /etc/apt/sources.list (I chose gedit …

Member Avatar for ingalex
0
472
Member Avatar for newsguy

IBM has today announced the availability of an [URL="http://ibm.com/systems/p/Linux/systempave.html"]open beta version[/URL] of its virtual Linux environment to enable x86 Linux applications to run without modification on POWER processor-based IBM System p servers. Designed to reduce power, cooling and space by consolidating x86 Linux workloads on System p servers, it will …

0
234
Member Avatar for kc0arf

For those who may not have heard, former network leader Novell (who owns SuSE Linux) made a deal with Microsoft exchanging some intellectual property rights. Those in the business-end of IT know that Microsoft is busy applying for thousands of patents concerning Intellectual Property -- have a look at Network …

Member Avatar for BILL S
0
311
Member Avatar for Mahen

What Caused Microsoft to Create DirectX10? It all started with the Windows Error Reporting Tool. Microsoft was collecting hundreds of Bugs per day only for its Operating System. Microsft Found out that 70% of all errors and bad user Experience in Windows XP comes from Graphic Display drivers. First, Microsft …

Member Avatar for Mahen
0
326
Member Avatar for Zephyroza

Intel officially announced the introduction of 10 Core 2 Duo and Core Extreme microprocessors for desktops, workstations and notebooks. Intel said it has over 550 customer system designs underway, with the CPUs built on 65 nanometre technology. Machines using the desktop chips will be available in early August, while notebooks …

0
239
Member Avatar for mikeandike22

After months of possible merger information it finally happens and I am surprised at the amount of money that AMD had to spend on this. This is a huge step for both companies. Currently Intel is the lead manufacturer of microprocessors, semiconductors, and graphics chips with AMD being the second …

0
235
Member Avatar for happygeek

The world of malware could be turned upon its head if the Blue Pill virtualization based rootkit due to be demonstrated at the [URL="http://syscan.org"]SyScan 06[/URL] Conference, Singapore, in a couple of weeks proves as undetectable as the security researcher who has created it claims. [URL="http://invisiblethings.org/"]Joanna Rutkowska[/URL] is a stealth malware …

0
237
Member Avatar for blud

I was recently working on a personal project to setup a PVR system for my living room. The first part of this project was relatively easy; I just bought another dell computer. The next step was a little bit complicated, see, personally I would typically like to use an OS …

Member Avatar for mikeandike22
0
310
Member Avatar for happygeek

At [URL="http://www.supercomp.de/"]ISC2006[/URL], the 21st International Supercomputer Conference, in Dresden, Germany today an interesting announcement was made by [URL="http://www.tyan.com"]Tyan Computer[/URL]: the launch of the Personal Supercomputer. Not quite a desktop machine, it is being marketed as a deskside unit, the [URL="http://www.tyan.com/products/html/clusterservers.html"]Typhoon PSC[/URL] certainly promises to pack quite a punch. The 8 …

Member Avatar for happygeek
0
373

The End.