#assembly
I'm very excited to share that our bacteriophage recovery tool, Phables has been accepted for publication in the OUP Bioinformatics journal.
Publication: https://doi.org/10.1093/bioinformatics/btad586
GitHub: https://github.com/Vini2/phables
A big thank you to everyone at FAME for supporting this work.
@BeardyMcJohnFace @npbhavya @griggo_grig @GB13Faithless @AbbeyHutton @Sassel1985 @linsalrob
#bioinformatics #metagenomics #bacteriophages #assembly #assemblygraph #graphtheory #flownetworks

PROJEKT:OVERFLOW - Assembler and C tabletop board game https://punkx.org/overflow | https://lobste.rs/s/lqbven #assembly #c
did the #albanian prime minister just burn the #russian delegation?!
#slavaukraini
#salute to all #nafo
btw: thats not the first time #edirama is on fire;
https://www.youtube.com/watch?v=g0cUjhdrM6E
#un #unitednations #council #generalassembly #assembly #albania #ukraine #zelenskyy
#meme #mamema #memes #russia (idi khuj!)

@awkravchuk watching an #assembly person combing through #'disassemble in SBCL is so crazy
#riscv #assembly beginner's guide https://yewtu.be/watch?v=0IeOaiKszLk
Scopriamo le istruzioni aritmetiche dei processori x86.
#x86 #assembly #x86_64 #x86assembly
Ford, General Motors, and Stellantis said they wanted to settle the strike and held back from directly criticizing the escalation threat. Mark Stewart ...
DETROIT, MI—The United Auto Workers union is putting pressure on Detroit’s Big Three by threatening to expand its strike unless it sees significant progress in contract negotiations by Friday.#Assembly #magazine #automation #screwdriving #fastener #fastening #torque #rivet #adhesive #bonding #dispensing #robot #welding #leanmanufacturing #conveyor #workstation #ergonomic #design #feeder #DFMA #leaktest #inspection #vision #press #wireharness
The UAW Union Strike Against Ford, Stellantis, and General Motors Continues
@trabimechanic
Questionable relationships between #ukpoliticalparties and #hindutva were around even before the #brexitreferendum in June 2016. Much of the #conservative campaign for the #london #mayor and #assembly relied on stirring up #antimuslim feeling among #hindu communities by implying that #SadiqKhan would literally strip gold ornaments off their womenfolk. And this particular campaign was in the first half of 2016! It did not pay off then but they have persevered with it since!
I was trying to compile a win32 gui project I made in MASM32 20+ years ago. I downloaded the SDK, which is packed in an install.exe file, from https://www.masm32.com and got this... 🤔 Could be a false positive, or not...

Anyone have any US based resources that can do product assembly of <1000 products involving no soldering, just assembly, and light QC. Please HMU!!
The architecture of assembly influences what happens at meetings. Room sets affect the quality of democracy, sharing, & equality participants experience.
https://www.conferencesthatwork.com/index.php/event-design/2017/04/the-architecture-of-assembly
#meetings #EventDesign #architecture #assembly #RoomSets #seating #eventprofs

Machine Learners Guide to Real World - 🖥️ #LLMs for Compiler #Optimization: A Deep Dive
"The researchers presented a transformer model, trained from scratch to optimize #LLVM #assembly for code size. This model takes unoptimized assembly as input and suggests a list of compiler options to best optimize the program. It predicts instruction counts before and after optimization, and even the optimized code itself, enhancing its depth of understanding and optimization performance.
...
Contrary to the initial assumption that the paper would highlight the shortcomings of LLMs, it revealed that a sufficiently trained LLM could predict and directly apply the best optimizations to an input code, bypassing the need for a compiler altogether. This was a surprising revelation, showcasing the untapped potential of LLMs in code optimization."
https://muhtasham.github.io/blog/posts/llm-for-compiler-optimization/
🤔 Truthiness in C
➥ Daniel Xu
「 First I think it’s important to point out most casts in C are “free”. “Free” in the sense that the compiler changes its internal understanding of an expression. But in actual assembly nothing really changes – registers don’t have types. (NB: architecture dependent) 」
Lots of good and detailed books about learning x86 assembly when I searched online.
I'm gonna read these two:
http://www.egr.unlv.edu/~ed/assembly64.pdf
https://www.ic.unicamp.br/~pannain/mc404/aulas/pdfs/Art%20Of%20Intel%20x86%20Assembly.pdf
Working with Intel AVX, and trying to speed up some astrophotography stuff… #intel #assembly #avx #astrophotography
wooo. Odd/Even tester in #z80 #assembly, playing around with relative jumps and using flags.
It actually seems simpler to me than a traditional divide by 2 based algorithm? Using the trick of testing the last bit because that's enough in binary to tell. I imagine on this processor at least it would be much faster than divide by two based tests, since the z80 has no hardware division. I don't know if any assemblers or processors are smart enough to do the optimization to a bit shift trick used for divide by two. Compilers typically are, but the lower level tools might assume you have a specific reason it has to be division if you directly instruct it to do so.
#California #Assembly Declares August the First #TransgenderHistoryMonth in the #Nation.
“Many Californians remain unaware of the #real #lives and #experiences of #transgender #people, even here in California. This #lackoffamiliarity has been #exploited by those on the #right to #attack the #trans #community
#Women #Transgender #LGBTQ #LGBTQIA #Education #History #Representation #Culture
I’m trying to learn #intel8080 #assembly! I’m not using an assembler at the moment (I’m just typing opcodes into an online emulator 😅), but I think I’m making progress!
Here’s a very simple hello world I wrote! It sends “HI!” out of pin A1 (I think lol, on the emulator it prints it on the screen):
0000: 3e48 LD A,48
0002: d301 OUT (1),A
0004: 3c INC A
0005: d301 OUT (1),A
0007: 3e21 LD A,21
0009: d301 OUT (1),A
000b: 76 HALT
IEEE floating point is like having a built-in Stradivari in each home appliance (2008)
https://yosefk.com/blog/consistency-how-to-defeat-the-purpose-of-ieee-floating-point.html
Discussions: https://discu.eu/q/https://yosefk.com/blog/consistency-how-to-defeat-the-purpose-of-ieee-floating-point.html
#assembly #compilers #compsci #cprogramming #math #programming
Scopriamo le operazioni logiche dei processori x86.
#x86 #assembly #x86_64 #x86assembly
Writing software for a radiotherapy machine in raw Assembly sounds like a nightmare I had once.
The architecture of assembly influences what happens at meetings. Room sets affect the quality of democracy, sharing, & equality participants experience.
https://www.conferencesthatwork.com/index.php/event-design/2017/04/the-architecture-of-assembly/
#meetings #EventDesign #architecture #assembly #RoomSets #seating #eventprofs

One cool thing I discovered studying the DOS, is that you can create programs written in assembly using just "debug.exe" command.
And to those wondering what if we combine huffman and zx0; I ran the huffman output through zx0 and the results are better on the bottom end but slightly worse for general case in huffman. Still beats plain zx0 in all cases, though. Way too expensive to decode on a speccy, however.
Doing the zx0 first might compress even better, but I'm too lazy to test that.

On my quest of compressing floyd-steinberg dithered bitmaps; yes, huffman encoding beats zx0. But not so significantly that I'd be bothered to write a decoder in zx80 assembly.
#z80 #speccy #assembly #compression #wtfbbq

It took way more work than I'm proud of, but here's the redesigned stats screen! If you're observant (and overly familiar with Game Boy limitations), you may notice some intriguing things. Ball type? Index number higher than 255? Hmmm...
#PokemonCrystal #ROMHack #Z80 #Assembly

@raymierussell @Wintermute_BBS
this is the one I found interesting today,
a great read on the way the arcade game "space invaders" works from an assembly coding point of view. not neccesarily the best way lol...
https://www.computerarcheology.com/Arcade/SpaceInvaders/
whats great is after only a month of making an effort to learn z80, I can follow this sort of stuff now lol. its great if your learning z80 with an aim to make games to see how things can be done.
what's a good resource for learning x86 #assembly. preferably intel syntax
I never wrote Assembly in my life, but tonight (for some reason) I thought of disassembling simple C code snippets with Ghidra. So, I started with a hello world and was very surprised to find a much more extensive and complex result compared to my original assembly (obtained with GCC).
I mean, it's a Hello World!

🧑💻How a CPU really works💾
Let's go right inside a CPU and watch it execute code at the transistor level!
Read More 👉https://ncot.uk/how-a-cpu-really-works/
#Assembly #ComputerScience #ComputingHistory
How a CPU really works
Let’s go right inside a CPU and watch it execute code at the transistor level!
As a programmer I have often wondered exactly what the CPU is doing when I give it some code. Being a computer science teacher I know all about the fetch-execute cycle and what is supposed to be inside a CPU but what it actually does is glossed over.
Link to video here: https://youtu.be/n4e4KjcyeSE
So I set about finding out using the Visual6502 project’s simulation of the Zilog Z80.
This is not an emulator of the chip like you might be used to. This simulates the actual physical layout of the chip down to the wiring and transistors. It’s possible to step through the chip’s sequencing logic and watch parts of it switch on and off. It’s completely fascinating.
And once you figure out what’s going on, it’s possible to watch the CPU work.
This deep dive into the inner workings of the Z80 was inspired by one of my students asking me the innocent question of “how does a CPU work?” and then being persistent in wanting to know what it actually does.
I had no idea and I had to find out.
This video is the result.
#assembly #computer-science #computing-history
https://ncot.uk/?p=1214

"The code that makes Mario Move" https://youtu.be/ZuKIUjw_tNU?si=K_9CsJyWxGg_6QSR #nes #assembly
Non vi ho detto che durante lo scorso inverno ho fatto questo corso di Gustavo Pezzi sulla piattaforma Udemy dove insegna a fare un gioco su Atari 2600. Molto istruttivo anche se non siete cresciuti a pane e #8bit come me. Se lo trovate in offerta ve lo consiglio. Oggi ci sono già molte risorse online per gli sviluppatori, ma avere tutto spiegato bene dall'inizio alla fine, con gli esempi e gli strumenti giusti, invoglia sicuramente di più a fare qualcosa. #atari2600 #assembly #gamedev
I learned a little bit of assembly using a tutorial on YouTube to create a Hello World application.
It helped me understand a bit more about what happens in the background when we are running an application.
The tutorial is for intel Macs and can be found here:
https://www.youtube.com/watch?v=qhkEOyK1ek0&ab_channel=ClicketyClack
#computescience #assembly #programming #coding #lowlevelcomputing

Simple AVX-512 code: A nice demo of an easy SIMD calculation (Latin1 to UTF-8)
https://lemire.me/blog/2023/08/18/transcoding-latin-1-strings-to-utf-8-strings-at-12-gb-s-using-avx-512/
#via:hackernews #programming #assembly #avx512 #intel #simd #+
So with thanks to @fozztexx for reminding me about XCOPY; I have indeed managed to copy the #dos #assembly book examples disk to my my modern desktop. I’ll upload somewhere (probably @internetarchive) later on in case anyone else wants to see them; and I can load them onto an emulated system for more convenient use.
The Secret Life of C++: What Your #Compiler Doesn't Want You To Know
https://web.mit.edu/tibbetts/Public/inside-c/www/
“#CPP is filled with strange and wonderful features, with a few more added in C++11. We will explore in detail how these features are implemented under the covers, in terms of the #assembly #code generated.”
After finding I couldn’t download a copy of any #dos #assembly programming books from @internetarchive (they are only available to loan for whatever reason), I managed to track down a dead tree copy of this book (“Assembly Language for the PC” [3rd edition] - by John Socha & Peter Norton), which arrived in the mail today.
It even had the original floppy disk with it - containing all of the example code. But there my luck ran out. The disk is a 720k DD floppy - and my USB floppy disk drive (at least on my Mac, I’ve not tried any of my Linux boxes yet…) couldn’t read it - and a Win98 VM didn’t have any drivers for the USB drive. I do have an ancient DOS laptop which *was* able to read it (and confirmed it’s good), but short of rigging up some kind of USB serial to DB9 serial and running ZModem or some kind of serial file transfer tools - I don’t know how to get the files from that machine to anywhere I might want to archive the files.
Any ideas?
And when your friends are ALSO neurodivergent and STEM, they act like that evil angel on your shoulder whispering "DO IT" into your ear.
Man, I just finished working with strings and lists in my python course. 😂 (a refresher but still.)
I guess... I'm going to watch that first episode on how to write an OS before I sleep. I prefer bedtime stories but oh well. ☺️😵
I'm sure Assembly won't hurt me like C++ did...
Oh, the video: https://youtu.be/9t-SPC7Tczc
It’s really odd… Just about every single book on #assembly programming for #DOS (both MS-DOS and IBM PC DOS - not that they’re really different things of course) that I can find on @internetarchive is restricted for borrowing only and not download. (And I’m talking about books that are from the 1980s here - not recent ones). I’ve found books for download on DOS that aren’t about assembly programming and assembly language programming books for systems than aren’t DOS - but not both. Anyone know why? #retrocomputers
TetrOS is a Tetris implementation in x86 Assembly that fits into a 512 byte boot sector. Cute.
Another new book about assembly language just arrived, this time the PDP-11/60 processor handbook by digital from 1977.
#oldcode #sibo #epoc16 #laptop #pda #16bit #retrodev #retrocomputing #assembly #x86 #90s #80s #psion
I don't think I have them anymore unfortunately.
I wrote a bunch of time of flight and #ballistics calculators back in the 90s
I used to use the Psion 3, 5, 5mx and had the notebook.
I also remember spending £200 on a 10Mb compact flash card at one point. :blobcatgrimacing:
@rml Absolutely, but you don't even need to go back in time that far. A lot of peeps (incl. me & friends) still grew up learning programming with pen & paper in the late 80s... Here're some scans from my teenage years (1988-1992ish)
Plus, a fitting Alan Perlis quote: "To understand a program you must become both the machine and the program." — still one of the truest sayings about debugging...
#6502 #Atari #Assembly #RetroComputing
Question 3 is a good exercise in bitbanging. I try to explain some of that here and there's even an implementation in x86-64 assembly:
@defcon @1bitsquared Here additionally the “machine view” of the parts. It picks up 6 at a time so they do flicker through quite fast ;) #manufacturing #fpga #Electronics #pnp #assembly
Exactly 30 years ago at #Assembly '93. Dug up an hour of footage of our trip from old analog Video8 tapes, and edited it into a short piece full of beige nostalgia. #demoscene #retrocomputing
mir: A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR
https://github.com/vnmakarov/mir
Discussions: https://discu.eu/q/https://github.com/vnmakarov/mir
Hey everyone! A new Glasgow - Digital Interface Explorer Update is live! We are getting very close to shipping the first Glasgow and Glasgow Aluminium Cases to you! Lot's of testing packing and folding... :) https://www.crowdsupply.com/1bitsquared/glasgow/updates/getting-ready-to-ship #electronics #opensource #fpga #tool #embedded #hacking #assembly #python #usb #protocol
@profoundlynerdy https://programming.dev looks promising for #programming discussion. Here are its communities for the languages you mentioned:
• #Perl: https://programming.dev/c/perl
• #RakuLang: https://programming.dev/c/rakulang
• #C: https://programming.dev/c/c_lang
• #assembly: https://programming.dev/c/asm
• #Kotlin: https://programming.dev/c/kotlin
Some of the above aren’t very active, but you can always subscribe to communities on other federated #Lemmy instances.
Intel announces major update to core x86 instruction set
A wild #blog post appears!
Teaching the Portable C Compiler (PCC) to use Yasm and the Sun assembler as its assembler (instead of the GNU assembler).
https://briancallahan.net/blog/20230723.html
#compiler #compilers #c #assembly #assembler #assemblers #unix #bsd #freebsd #netbsd #openbsd #dragonflybsd #linux #solaris #illumos #program #programming #programminglanguage #programminglanguages #opensource #freesoftware
20 years ago I was happy to demonstrate Pegasos #powerpc hardware at #Assembly 2003 #demoparty. As I recall the demo was arranged at very last minute and the devices only arrived on 2nd day of the event. The systems were set up to run the latest beta build of our #MorphOS operating system. Considering the ad-hoc nature of the whole deal it went surprisingly well in the end. Finnish #Amiga User Group (SAKU) was helping with much of the arrangements as I recall.
One of the best head-turner was the Pegasos system built into a microwave. This system had LCD screen behind the front glass, so at some point we got the epic idea of taking an interior shot of a real microwave oven in action and replacing the desktop background image with it. People would walk by, glance at the microwave and then their minds would get bent as the perspective did not change as expected. This resulted in a ton of people coming over asking about the system and taking photos.
Having ADHD is like having your brain run off of code written in assembly.
#ADHD #Neurodivergent #Neurodiversity #InformationSecurity #Infosec #Cybersecurity #Cybersec #Technical #Tech #Assembly
I'm brand new here, so an #introduction is a good idea:
I'm a freelance tech writer / software developer / KM project manager based in Europe. Digitally, I was born in the 90s. So I grew up eating cyberpunk books, BBSs, home computers, hacking, then the first doses of Internet and the Web.
In the 90s and the first 00s I developed my (ahem) "philosophy": digital spaces are (can be, should be) autonomous zones where different cultures, and sub/counter-cultures, can thrive.
These are the years of the enshittification of Internet, but it can't rain forever (cit.) and I see the Fediverse as a new opportunity for some of us to recreate better and safer digital spaces.
That's the "vision". Than there's the daily life: I write code (awful, mostly), help companies in managing their knowledge bases, write technical documentation, sometimes write tech articles for (mostly unknown) business tech manazines.
In the spare time, I tinker with Linux, Risc-V boards and "old" languages like Forth, Assembly and C (but I'm a fan of Haskell too). I'm convinced that permacomputing and, maybe, collapse computing are our digital future. So, "back to basics" seems a good idea.
That's all, I guess. Nice to meet ya.
#softwaredevelopment #km #linux #risc-V #forth #assembly #C #haskell #permacomputing #collapsecomputing
# NY designates state a ‘safe haven’ for trans youth, families and health providers
* #NewYork #Governor #KathyHochul #signed a #bill into #law on Sunday that #designates the #state as a #SafeHaven for #transgender #youth, #families, and #HealthCare #providers.
* The bill #prohibits state and #local #LawEnforcement from #cooperating with #investigations into families who seek #GenderAffirming #care for their #trans #children.
* It also #protects the #health #information of transgender people who seek care in New York, and it #prohibits #discrimination against transgender people in #employment, #housing, and #public #accommodations.
* The bill was passed in response to a record number of anti-LGBTQ+ bills being introduced nationwide.
Hochul said that the bill "sends a clear message that New York is a place where everyone is welcome, regardless of their gender identity."*
* The bill was passed by the New York State #Assembly and #Senate with #overwhelming #bipartisan #support.
* It is the first bill of its kind in the United States.
* The bill is being hailed by LGBTQ+ advocates as a major victory.
* However, some conservative groups have criticized the bill, arguing that it will harm children.
https://gothamist.com/news/ny-designates-state-a-safe-haven-for-trans-youth-families-and-health-providers
Yesterday I got a huge donation of #C64 #PaperWare from a guy who had programmed #BASIC and #assembly since the 1980s until his death this spring. A big project of him was altering and extending Simons' BASIC for the C64. There are plenty of sheets with hand-commented disassemblys and self-programmed routines.
There must be a law against your child sending you an assembly language question and then not telling you:
A) why
B) what architecture this is
Hey everyone! A new Glasgow - Digital Interface Explorer Update is live! We talk about the PCB production, case design progress and the new @1bitsquared workshop! https://www.crowdsupply.com/1bitsquared/glasgow/updates/production-progress #electronics #opensource #fpga #tool #embedded #hacking #assembly #python #usb #protocol
An operating system in 512 bytes? Why not?
PonyDOS is an operating system kernel written in x86 Assembly that fits within 512 bytes. It even provides mouse and text window support.
This new multi-arch #assembly REPL and emulator by @netspooky is awesome 💚
One of the heavy lifts remaining in the book I’m trying to write is how to bridge the gap between #mutualaid & similar practices of self-organized care, of which there are many excellent examples, and communities taking that next step toward political self-determination via the #assembly and similar models, where there is far more in the way of theory than good, durable, recent practice. Do you have favorite examples of communities that choose courses of action via robustly #participatory means?
Finally, I've created a #RISC-V #Assembly code which works! https://gitlab.com/vazhnov/native-blink_asm_sparkfun_red-v_thing_plus/-/blob/main/Blink-all-GPIO_asm/src/gpio.S
Thanks to #PlatformIO, #SiFive and #SparkFun.
ˋweld-object` is now able to disassemble x86 instructions when debugging an object file (with the ˋdebug-x86` feature turned on), https://github.com/Hywan/weld/commit/043e16d731108ac1a7cade05de209a18e0591959.
It’s really handy :-)!
It’s based on the excellent iced-x86 crate, https://github.com/icedland/iced.
❓📣 If you know an equivalent for ARM, please let me know!
@veronica @lodurel Roughly accurate…
1. #BASIC (C64, Apple IIgs) 1990-?
2. #assembly 1992-1994
3. #HyperCard 1994-1996
4. #CPlusPlus 1997-2001
5. #VisualBasic, #VBA 1999-2001
6. #JavaScript 2003-
7. #VBScript 2003-2004
8. #PHP 2005-
I try random #programming languages here and there but this has really been it. The flavor-of-the-month JavaScript frameworks keep me busy.
There's good insight and advice on Z80/8080 Assembly programming in the answers to this Retrocomputing StackExchange question. For example, on such systems memory is cheap and it's not worth bothering too much with optimizing register allocation.
Back in business!
Next semester (starting in April) I will give a seminar on #assembly language #programming for the #MOS6502 on the #C64 platform at the #MediaStudies @UniBonn:
I wrote two programs for clearing the screen on CP/M-80 and CP/M-86, one in Intel 8080 Assembly for the Z80-MBC2 homebrew computer and the other in Intel 8086 Assembly for the V20-MBC:
https://journal.paoloamoroso.com/two-cp-m-programs-to-clear-the-screen
How was the amazing intro to "Link's Awakening" on GameBoy achieved? Here's an enlightening series of very well-explained articles with lots of GIFs and pictures on that (and much more!)
➡️ https://kemenaran.winosx.com/posts/links-awakening-rendering-the-opening-cutscene
#romhacking #gameboy #legendofzelda #linksawakening #assembly
A good Python library and a set of tools for creating, reading, writing, inspecting, and manipulating Intel HEX files. It's handy also for processing the output of CP/M assemblers and compilers.
Though I suspect some of it is out of date, reading NASM's information for writing ELF libraries has taught me a lot about how ELF works. Like, I knew position independent code meant that you can't know your absolute location ahead of time, but hadn't really considered how that's implemented. (And C, thankfully, hides this all from me).
I put together a guide for c64 assembly coding to help others know where to start..
Hopefully useful to someone out there..
#c64 #commodore #mos6502 #assembly #retrocomputing
https://github.com/spiroharvey/c64/blob/main/asm/C64%20Assembly%20Coding%20Guide.md
Some tips for gaining a reading knowledge of Assembly language code.
My impression is it's not as easy as the post suggests. For example, while data transfer and branching instructions are usually easy, most logical operations, shifts, and math/logic tricks are mind bending. But the post is a great starting point.