-
Recent Posts
- Polybot Project: a Simple Pretty Logger
- Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (8)
- Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (7)
- Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (6)
- Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (5)
Recent Comments
Archives
Categories
Meta
Tag Archives: Assembly
Mixed C++/Assembly: Numeric Practice using x87 Math Coprocessor
This simple prgram demostrates the use of x87 numeric (math) coprocessor in numeric analysis. Here, the taylor expansion for sin is examined. Continue reading
Posted in Assembly, C/C++
Tagged Assembly, C++, Math Coprocessor, Numeric, Sin, Taylor
Leave a comment
Mixed C++/Assembly: A Fast Algorithm to Find the First n Prime Numbers
This demo program finds the first n prime numbers using a fast algorithm with x86 32-bit assembly language. This project has been tested with Visual Studio .Net 2008 (C++) There are two constants rows (preset to 20) and cols (preset … Continue reading
Mixed C++/Assembly: A function to find the prime factor of a number
There has already been a function to find the lowest prime factor of a number in C/C++ language in the article A function to find the prime factor of a number in C++. This article uses the same algorithm (as … Continue reading
emu8086: Read a String from Keyboard
This program reads a string from keyboard and prints it back ;———– ; getstr.asm ; ; This is a simple demo for emu8086 ; ; This program reads a string of at most 32 ; characters from keyboard, and prints … Continue reading
emu8086: Adding Two Arrays Element by Element
An assembly demo to add to arrays of known fixed size element by element, and displaying the result ;———— ; arraysum.asm ; This is a demo program for emu 8086 ; ; This program adds two array of fixed size … Continue reading
emu8086: Product of Two Numbers
This demo reads two 16-bit unsigned integers (WORDs) from keyboard, calculates their products and prints the result in screen. If the numbers are too large, or the product is too large, it prints an error message. ;———— ; muldemo.asm ; This is a … Continue reading
emu8086: Functions to print AX signed/unsigned
This is a demo program. I tested it with emu8086 4.07 There are two functions: printd and printud which print the value of AX register as 16-bit signed (printd) or unsigned (printud) integer. I have used this equivalent C/C++ function … Continue reading