en
Feedback
for-coder

for-coder

Open in Telegram
467
Subscribers
No data24 hours
No data7 days
-1130 days
Posts Archive
Good Saturday โ˜€๏ธ
Good Saturday โ˜€๏ธ

It all comes down to addition
It all comes down to addition

; 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 โœ๏ธ ๐Ÿคง

Repost from N/a
This website is dead ahh mind blowing

Becoming Better Than Yesterday ๐Ÿš€ ๐Ÿ• 1 min read time
What happens when you stop over-planning and just show up every day? Iโ€™m about to find out.
Read More

Victory of Adwa ๐Ÿ‡ช๐Ÿ‡นโš”๏ธ แˆ˜แˆแŠซแˆ แ‹จแ‹ตแˆ แ‰ แ‹“แˆ, ma people ๐Ÿ‡ช๐Ÿ‡น๐Ÿ”ฅโœŠ๐Ÿพ

โค๏ธโ€๐Ÿฉน โ˜€๏ธ แˆ˜แˆแŠซแˆ แˆณแˆแŠ•แ‰ต โ˜€๏ธ โค๏ธโ€๐Ÿฉน

แˆแŠฉแˆซแ‰ฅ แ‹จแ‹แ‰ขแ‹ญ แŒพแˆ แˆฆแˆตแ‰ฐแŠ› แˆณแˆแŠ•แ‰ต แˆแŠฉแˆซแ‰ฅ แˆ›แˆˆแ‰ตแฆ แ‰คแ‰ฐ-แŒธแˆŽแ‰ต แˆฒแˆ†แŠ•แค แŠขแ‹จแˆฑแˆต แ‰ แˆฐแŠ•แ‰ แ‰ต แ‰€แŠ• แŠจแŠ แ‹ญแˆแ‹ต แˆแŠฉแˆซแ‰ฅ แŒˆแ‰ฅแ‰ถ แˆแŠฉแˆซแ‰กแŠ• แŒˆแ‰ แ‹ซ แŠ แ‹ตแˆญแŒˆแ‹ แˆฒแŒˆแ‰ แ‹ซแ‹ฉแ‰ แ‰ต แŠ แŒˆแŠ›แ‰ธแ‹แข แ‰คแ‰ด แ‹จแŒธแˆŽแ‰ต แ‰คแ‰ต แ‹ญแ‰ฃแˆ‹แˆ แ‹ซแˆˆแ‹แŠ•
แˆแŠฉแˆซแ‰ฅ แ‹จแ‹แ‰ขแ‹ญ แŒพแˆ แˆฆแˆตแ‰ฐแŠ› แˆณแˆแŠ•แ‰ต
แˆแŠฉแˆซแ‰ฅ แˆ›แˆˆแ‰ตแฆ แ‰คแ‰ฐ-แŒธแˆŽแ‰ต แˆฒแˆ†แŠ•แค แŠขแ‹จแˆฑแˆต แ‰ แˆฐแŠ•แ‰ แ‰ต แ‰€แŠ• แŠจแŠ แ‹ญแˆแ‹ต แˆแŠฉแˆซแ‰ฅ แŒˆแ‰ฅแ‰ถ แˆแŠฉแˆซแ‰กแŠ• แŒˆแ‰ แ‹ซ แŠ แ‹ตแˆญแŒˆแ‹ แˆฒแŒˆแ‰ แ‹ซแ‹ฉแ‰ แ‰ต แŠ แŒˆแŠ›แ‰ธแ‹แข แ‰คแ‰ด แ‹จแŒธแˆŽแ‰ต แ‰คแ‰ต แ‹ญแ‰ฃแˆ‹แˆ แ‹ซแˆˆแ‹แŠ• แŠ แˆ‹แАแ‰ แ‰ฃแ‰ฝแˆแˆแŠ•? แ‰ตแ‹•แŠ•แ‰ขแ‰ฐ แŠขแˆณแ‹ญแ‹ซแˆต แถแฎแฅแฏ แŠฅแŠ“แŠ•แ‰ฐ แŒแŠ• แŒˆแ‰ แ‹ซ แŠ แ‹ฐแˆจแŒ‹แ‰ฝแˆแ‰ต แ‰ แˆ›แˆˆแ‰ต แ‰ แ‰ฐแŠ“แ‰ธแ‹ แŠฅแ‰ƒแ‹แŠ•แˆ แŒˆแˆˆแ‰ฃแ‰ แŒ แ‰ฃแ‰ธแ‹ แ‰ แˆฎแ‰นแŠ•แˆแคแ‰ แŒŽแ‰นแŠ•แˆ แ‰ แŒˆแˆ˜แ‹ต แŠ แ‹จแŒˆแˆจแˆ แŠ แ‰ฃแˆจแˆซแ‰ธแ‹แข แ‹จแ‹ฎแˆแŠ•แˆต แ‹ˆแŠ•แŒŒแˆ แˆ. แชแฅแฉแฏ (แˆ›แ‰ดแ‹ฎแˆต แชแฉแฃแฉแซ) แ‹ฐแ‰€ แˆ˜แ‹›แˆ™แˆญแ‰ฑแˆ แ‹จแ‰คแ‰ตแˆ• แ‰…แŠ•แ‹“แ‰ต แ‰ แˆ‹แŠ แ‰ฐแ‰ฅแˆŽ แ‹จแ‰ฐแŒปแˆแ‹ แˆˆแŠซ แŠฃแˆแŠ• แ‰ฐแˆแŒธแˆ˜ แ‰ฅแˆˆแ‹ แŠ แˆตแ‰ฐแ‹‹แˆ‰แข แˆ˜แ‹. แ‹ณแ‹Šแ‰ต แฎแฐแคแฑ.............
Read more

โค๏ธ๐Ÿ’’ แˆ˜แˆแŠซแˆ แˆ แŠ•แ‰ แ‰ต ๐Ÿ’’โค๏ธ

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๐Ÿซ ๐Ÿ’ป๐Ÿ“ˆ

Hailu-Mergia-Dahlak-Band-Wede-Harer-Guzo.m4a6.00 MB

Here some tune for today ๐ŸŽถ๐ŸคŒ

What's the output of the above code?
Anonymous voting

a = [1, 2, 3]
b = a
c = a.copy()
a.append(4)
b.append(5)
c.append(6)

print(a, b, c)

Been a while since I posted any quiz

Good morning pepoles have a nice week

โค๏ธ๐Ÿ’’ แˆ˜แˆแŠซแˆ แˆ แŠ•แ‰ แ‰ต ๐Ÿ’’โค๏ธ

Repost from Solo codes
Run clear after every command on terminal-aholic