for-coder
Open in Telegram
467
Subscribers
No data24 hours
No data7 days
-1130 days
Posts Archive
467
; Program that subtracts three integers using only 16-bit registers
; Subtracts: val1 - val2 - val3
INCLUDE Irvine32.inc
.data
val1 WORD 10 ; using WORD (16-bit) instead of DB
val2 WORD 20
val3 WORD 30
answer WORD ? ; we'll store the final result here
.code
main PROC
mov ax, val1 ; AX = 10
sub ax, val2 ; AX = 10 - 20 = -10
sub ax, val3 ; AX = -10 - 30 = -40
mov answer, ax ; optional: store result in memory
call DumpRegs ; shows EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP + flags
exit
main ENDP
END main
Just finished writing a code to subtract two numbers from one number
Seems easy to write โ๏ธ ๐คง467
Victory of Adwa ๐ช๐นโ๏ธ แแแซแ แจแตแ แ แแ, ma people ๐ช๐น๐ฅโ๐พ
467
แแฉแซแฅ
แจแแขแญ แพแ แฆแตแฐแ แณแแแต
แแฉแซแฅ แแแตแฆ แคแฐ-แธแแต แฒแแแค แขแจแฑแต แ แฐแแ แต แแ แจแ แญแแต แแฉแซแฅ แแฅแถ แแฉแซแกแ แแ แซ แ แตแญแแ แฒแแ แซแฉแ แต แ แแแธแแข แคแด แจแธแแต แคแต แญแฃแแ แซแแแ แ แแแ แฃแฝแแแ? แตแแแขแฐ แขแณแญแซแต แถแฎแฅแฏ แฅแแแฐ แแ แแ แซ แ แฐแจแแฝแแต แ แแแต แ แฐแแธแ แฅแแแแ แแแฃแ แ แฃแธแ แ แฎแนแแแคแ แแนแแ แ แแแต แ แจแแจแ แ แฃแจแซแธแแข แจแฎแแแต แแแแ แ. แชแฅแฉแฏ (แแดแฎแต แชแฉแฃแฉแซ) แฐแ แแแแญแฑแ แจแคแตแ แ แแแต แ แแ แฐแฅแ แจแฐแปแแ แแซ แฃแแ แฐแแธแ แฅแแ แ แตแฐแแแข แแ. แณแแต แฎแฐแคแฑ.............Read more
467
I never thought PC/laptop prices would skyrocket like this ๐
Last time I checked, it was a reasonable priceโฆ
Now itโs up by 40%+, even for machines that have been used for 5+ years ๐ญ
Inflation is messing things up bad๐ซ ๐ป๐
Available now! Telegram Research 2025 โ the year's key insights 
