The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
27 views

x64 assembly clearmem / zeromem

I just started learning assembly yesterday, and the first useful thing I've written is a clearmem function. I'm looking for general feedback regarding my coding of this function, whether there any ...
1
vote
0answers
55 views

RC4 in 8051 assembly optimization

I've been playing around with 8051 assembly lately and thought I would make a little project of implementing RC4, since it is pretty interesting and the algorithm doesn't seem too hard. Plus, taking ...
1
vote
1answer
84 views

General feedback for my GCD/LCM x86 Intel NASM assembly program

I've already created a similar program in C++ first, and then I decided to try to write it in x86 assembly language (the type of assembly I was taught in college). I've already completed the C++ ...
3
votes
1answer
37 views

Is this the most efficient way to write this program with mips assembly?

This code computes the function (3x^2-4x+16) / (5x^2+2x-4). I ran the program and it works but I am fairly new to assembly language and not quite sure how to make the most efficient use of the ...
2
votes
1answer
77 views

Trying to improve and better understand Intel SSE intrinsics

I've been writing a collection of signal processing function optimized with SSE intrinsics (mostly for audio processing). Here is a linear interpolation function I wrote. It works well and is quite ...
-5
votes
1answer
40 views

Can anyone help me learning assembly language? Any tutorial links? [closed]

Can anyone help me learning assembly language? Any tutorial links?? i really need to learn assembly programming for masm611.
1
vote
0answers
224 views

Please review assembly for Nios 2 interrupts

This is homework for which we have prepared Nios 2 assembly and C: ######################################## # Definitions of device-addresses # and important constants. # # de2_pio_keys4 - 0x840 ...
2
votes
0answers
172 views

Writing SIMD libraries for C++ on FASM in x86-64 Linux

I have recently started a project of SIMD libraries development for C++ on FASM for x86-64 Linux. I would be glad to hear any opinion or feedback about the project, cleanness of the code and ...
2
votes
0answers
115 views

Would someone please critique this mips program?

I've done some programming in the past, but I'm new to MIPS, which I'm trying to learn on my own. This program lists the first five perfect numbers. It uses the Lucas-Lehmer and Miller-Rabin primality ...
2
votes
0answers
126 views

First steps with amd64 assembly

I try to learn amd64 assembler. This is the first thing I tried. This piece of assembly should replicate the functionality of the following piece of C code, which turns a binary sha-256 hash into a ...
2
votes
1answer
110 views

The Beginings of a Bootloader using GNU Based Tools

This is a personal project of mine, I am currently in the research phase of developing my own bootloader that will be used to load a single task operating system. I am far away from the final goal, ...
3
votes
1answer
630 views

SSE2 assembly optimization - multiply unsigned shorts and add the result

I am attempting to optimize a piece of C code which aims to multiply a series of pairs of unsigned shorts and add the result. I am only concerned about the high 16 bits of the result, and I can ...
30
votes
7answers
4k views

Fastest way to clamp an integer to the range 0..255

I'm working on some image processing code that can generate pixel values outside of the normal range of 0 to 255, and I'd like to clamp them back into the valid range. I know that there are saturating ...
1
vote
2answers
325 views

Correct User Input - x86 Linux Assembly [closed]

So I am working on an x86 Assembly program for Linux using NASM. This program basically asks the user for their name and their favorite color. After doing this and storing the two strings in variables ...