max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
programs/oeis/288/A288732.asm
neoneye/loda
22
129551
<reponame>neoneye/loda<gh_stars>10-100 ; A288732: a(n) = a(n-1) + 2*a(n-4) - 2*a(n-5) for n >= 5, where a(0) = 2, a(1) = 4, a(2) = 6, a(3) = 8, a(4) = 10. ; 2,4,6,8,10,14,18,22,26,34,42,50,58,74,90,106,122,154,186,218,250,314,378,442,506,634,762,890,1018,1274,1530,1786,2042,2554,3066,3578,4090,5114,6138,7162,8186,10234...
src/chips/YM2151.asm
sharksym/vgmplay-sharksym
6
129552
<filename>src/chips/YM2151.asm ; ; VGM YM2151 chip ; YM2151: MACRO super: Chip YM2151_name, Header.ym2151Clock, YM2151_Connect ; hl' = time remaining ; ix = player ; iy = reader ProcessCommand: PROC call Reader_ReadWord_IY jp System_Return writeRegister: equ $ - 2 ENDP ; hl' = time remaining ; ix = play...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1855.asm
ljhsiun2/medusa
9
129553
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x62d1, %rsi lea addresses_WT_ht+0xbd11, %rdi nop nop and %rbx, %rbx mov $64, %rcx rep movsb nop nop nop sub $37921, %r10 lea addresses_D_ht+0x1d051, %rdi clflush (%rdi) and %...
src/finale/finale.asm
1888games/golf
1
129554
<reponame>1888games/golf ; Top-hole Golf ; Copyright 2020-2021 <NAME> !to "finale.o",cbm !source "../core/labels.asm" !source "../core/mymacros.asm" !source "../core/vic_ii.asm" *= end_of_core !zone { finale_s_init jsr finale_s_load_best +utils_m_enable_bitmap_mode +utils_m_enable_multicolor_mode l...
Tests/yasm-regression/ret.asm
13xforever/x86-assembly-textmate-bundle
69
129555
[bits 16] ret ; out: c3 ret 4 ; out: c2 04 00 ret word 2 ; out: c2 02 00 retn 6 ; out: c2 06 00 retn word 2 ; out: c2 02 00 retf ; out: cb retf 8 ; out: ca 08 00 retf word 2 ; out: ca 02 00 [bits 32] ret ; out: c3 ret 4 ; out: c2 04 00 ret word 2 ; out: c2 02 00 retn 6 ; out: c2 06 00 retn word 2 ...
Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_2573_2554.asm
ljhsiun2/medusa
9
129558
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rax push %rcx lea addresses_A_ht+0x1e174, %r15 clflush (%r15) nop nop nop nop add %r12, %r12 mov $0x6162636465666768, %r11 movq %r11, %xmm5 vmovups %ymm5, (%r15) nop nop nop and %rcx, %rcx lea addresses_n...
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_1.asm
tp-freeforall/breakfast
1
129559
;******************************************************************************* ; MSP430x24x Demo - Software Toggle P1.0 ; ; Description: Toggle P1.0 by xor'ing P1.0 inside of a software loop. ; ACLK= n/a, MCLK= SMCLK= default DCO ~1.045MHz ; ; MSP430x24x ; ----------------- ; ...
src/common/_aa_imp.asm
OS2World/DEV-UTIL-ScitechOS_PML
0
129560
<gh_stars>0 ;**************************************************************************** ;* ;* SciTech Nucleus Audio Architecture ;* ;* Copyright (C) 1991-1998 SciTech Software, Inc. ;* All rights reserved. ;* ;* ============================================...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_2404_826.asm
ljhsiun2/medusa
9
129561
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_2404_826.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x8dc8, %r10 nop nop nop nop cmp $62653, %rcx mov $0x6162636465666768, %r13 movq %r13, ...
sound/fade_double_speed/init.asm
AntonioND/gbc-hw-tests
6
129562
INCLUDE "hardware.inc" SECTION "Helper Functions",HOME ;-------------------------------------------------------------------------- ;- wait_ly() b = ly to wait for - ;-------------------------------------------------------------------------- wait_ly:: ld c,rLY & $FF .no...
projects/07/StackArithmetic/SimpleAdd/SimpleAdd.asm
lhtin/Nand2TetrisLabs
2
129563
<filename>projects/07/StackArithmetic/SimpleAdd/SimpleAdd.asm // push constant 7 @7 D=A @SP M=M+1 A=M-1 M=D // push constant 8 @8 D=A @SP M=M+1 A=M-1 M=D // add @SP AM=M-1 D=M @SP A=M-1 M=M+D
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_5611_557.asm
ljhsiun2/medusa
9
129564
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rdi push %rdx push %rsi lea addresses_D_ht+0x5ea, %rsi nop nop nop nop nop cmp %rdx, %rdx mov (%rsi), %r9 nop nop nop nop add $15660, %r15 lea addresses_WC_ht+0x1d6a, %r14 nop dec %r12 movw $0x6162, (%r14) nop nop nop nop inc %rdx...
ubb/asc/exam/serj.asm
AlexanderChristian/private_courses
0
129565
<gh_stars>0 assume cs:code, ds:data data segment a dw -32000 b dw -32000 abig dw 0 maxFileName db 100 lFileName db ? fileName db 100 dup(?), '$' inputFileHandle db 'Please input the filename: $' newLine db 0ah, 0dh, '$' fileHandle dw 0 ten dw 10 buffer db 100 dup (?), '$' data ends code segment printToF...
programs/oeis/190/A190482.asm
neoneye/loda
22
129566
<reponame>neoneye/loda<gh_stars>10-100 ; A190482: Convex, obtuse, hexagonal lattice numbers ; 7,10,12,13,14,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61 mov $2,$0 mov $3,$0 mul $0,2 add $0,1 mov $4,$2 sub $4,3 lpb $0 mov $0,$4 ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_2550_1649.asm
ljhsiun2/medusa
9
129568
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 push %rbp push %rbx push %rdx lea addresses_WT_ht+0x17f4d, %r12 nop nop nop nop nop and %r11, %r11 mov $0x6162636465666768, %r8 movq %r8, %xmm4 and $0xffffffffffffffc0, %r12 vmovntdq %ymm4, (%r12) nop cmp $31671, %r14 lea addresses_A_ht...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1261.asm
ljhsiun2/medusa
9
129569
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xa4ba, %rcx nop nop nop nop add %r13, %r13 mov $0x6162636465666768, %rax movq %rax, (%rcx) nop xor %r13, %r13 lea addresses_D_ht+0x3b14, %rsi lea addresses_D_ht+0xd942, %rdi ...
Transynther/x86/_processed/NC/_st_zr_4k_sm_/i9-9900K_12_0xa0.log_21829_1894.asm
ljhsiun2/medusa
9
129570
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x10d56, %rbx clflush (%rbx) nop nop cmp %r14, %r14 vmovups (%rbx), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $1, %xmm1, %r11 nop nop nop ...
programs/oeis/107/A107863.asm
neoneye/loda
22
129571
<reponame>neoneye/loda ; A107863: Column 1 of triangle A107862; a(n) = C( n*(n+1)/2 + n, n). ; 1,2,10,84,1001,15504,296010,6724520,177232627,5317936260,179013799328,6681687099710,273897571557780,12233149001721760,591315394579074378,30756373941461374800,1712879663609111933495,101696990867999141755140 sub $2,$0 bin $2,2...
data/music/skater-dude.asm
sinusoid-studios/rhythm-land
11
129572
; Created with <NAME>'s Game Boy Tracker ; Music Patterns SECTION "Skater Dude Theme Pattern 0", ROMX PATTERN_SkaterDude0: DB $0A DB $08, $01, $1A, $30, $01, $0E, $06, $02, $0F, $06, $02, $0B, $02, $06, $03, $53, $02, $0B, $0B, $02, $28, $02, $06, $03, $83, $02, $0B, $0B, $01, $0C, $06, $03 DB $53, $02, ...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_12440_1351.asm
ljhsiun2/medusa
9
129573
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r15 push %r8 push %rbx push %rdi push %rdx push %rsi // Store lea addresses_D+0x11977, %r12 nop nop nop nop nop cmp %rdi, %rdi mov $0x5152535455565758, %r8 movq %r8, %xmm0 vmovups %ymm0, (%r12) nop xor $33278, %r...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_InvUpdateStruct.asm
meesokim/z88dk
0
129574
<gh_stars>0 ; sp1_InvUpdateStruct ; 03.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_temp_sp1 PUBLIC sp1_InvUpdateStruct sp1_InvUpdateStruct: INCLUDE "temp/sp1/zx/updater/asm_sp1_InvUpdateStruct.asm"
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_fam9511.asm
ahjelm/z88dk
640
129575
SECTION code_fp_am9511 PUBLIC cam32_sdcc_f32_fam9511 PUBLIC cam32_sdcc_fam9511_f32 EXTERN cam32_sdcc_read1, asm_f32_am9511 .cam32_sdcc_f32_fam9511 call cam32_sdcc_read1 jp asm_f32_am9511 EXTERN cam32_sdcc_read1, asm_am9511_f32 .cam32_sdcc_fam9511_f32 call cam32_sdcc_read1 jp asm_am9511_f32
P6/data_P6_2/MDTest49.asm
alxzzhou/BUAA_CO_2020
1
129576
<gh_stars>1-10 ori $ra,$ra,0xf sll $5,$2,7 sb $5,12($0) mtlo $4 sll $4,$5,14 mfhi $1 mthi $0 sb $4,9($0) sll $3,$1,15 mtlo $4 lb $4,14($0) addiu $5,$2,-19336 divu $4,$ra sb $5,3($0) divu $6,$ra mthi $2 srav $6,$6,$6 mflo $4 sb $4,13($0) lb $4,7($0) sb $0,3($0) sll $4,$4,19 srav $1,$2,$1 divu $2,$ra srav $4,$4,$4 sb $4,...
src/editor/sse2_x64_mandelbrot.asm
rogerdahl/cuda-benoit
8
129577
<filename>src/editor/sse2_x64_mandelbrot.asm<gh_stars>1-10 public read_timestamp_counter public cpu_ident public MandelbrotLineSSE2x64Two .code ; x64 __fastcall: ; ; RCX: 1st integer argument ; RDX: 2nd integer argument ; R8: 3rd integer argument ; R9: 4th integer argument ; ; XMM0: 1st floating point parameter ; XMM...
src/common.asm
JeppeSRC/STM32-Lib
0
129578
/* MIT License Copyright (c) 2022 Jesper Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
_maps/obj6D.asm
NatsumiFox/AMPS-Sonic-1-2005
2
129579
<filename>_maps/obj6D.asm ; --------------------------------------------------------------------------- ; Sprite mappings - flame thrower (SBZ) ; --------------------------------------------------------------------------- dc.w byte_E620-Map_obj6D, byte_E626-Map_obj6D dc.w byte_E631-Map_obj6D, byte_E63C-Map_obj6D ...
boot2.asm
mateuseap/Bootloader
3
129580
org 0x500 jmp 0x0000:start ;como o endereço dado para o kernel é 0x7e00, devemos ;utilizar o método de shift left (hexadecimal) ;e somar o offset no adress base, para rodarmos o kernel. runningKernel db 'Rodando Kernel...', 0 print_string: lodsb cmp al,0 je end mov ah, 0eh mov bl, 15 int 10h mov dx, 0 .d...
programs/oeis/014/A014896.asm
neoneye/loda
22
129582
<filename>programs/oeis/014/A014896.asm ; A014896: a(1) = 1, a(n) = 13*a(n-1) + n. ; 1,15,198,2578,33519,435753,5664796,73642356,957350637,12445558291,161792257794,2103299351334,27342891567355,355457590375629,4620948674883192,60072332773481512,780940326055259673,10152224238718375767,131978915103338884990,17157258963434...
Search and Sort/Insertion Sort.asm
MrR0B0T777/MIPS_Programming
0
129583
.data array: .word 52 21 111 10 100 43 2 space: .asciiz " " size: .word 7 .text main: sort_prep: la $t0, array # load array to $t0. lw $t1, size # load array size to $t1. li $t2, 1 # loop runner, starting from 1. sort_xloop: la $t0, array # load array to $t0. bge $t2, $t1, sort_xloop_end # while (t...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_147.asm
ljhsiun2/medusa
9
129584
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r14 push %rcx push %rdi push %rsi lea addresses_A_ht+0xb229, %r13 nop nop nop nop sub %r10, %r10 movb (%r13), %r14b nop nop and %r14, %r14 lea addresses_WC_ht+0xc49, %rsi lea addresses_A_ht+0x9c7f, %rdi ...
programs/oeis/087/A087908.asm
karttu/loda
1
129585
; A087908: Largest integer not expressible as a nonnegative linear combination of n and n^2 + 1. ; -1,3,17,47,99,179,293,447,647,899,1209,1583,2027,2547,3149,3839,4623,5507,6497,7599,8819,10163,11637,13247,14999,16899,18953,21167,23547,26099,28829,31743,34847,38147,41649,45359,49283,53427,57797,62399,67239,72323,77657,...
3rdParties/src/nasm/nasm-2.15.02/travis/test/float.asm
blue3k/StormForge
1
129587
<filename>3rdParties/src/nasm/nasm-2.15.02/travis/test/float.asm ; ; Test of floating-point formats ; ; 8-bit db 1.0 db +1.0 db -1.0 db 1.5 db +1.5 db -1.5 db 0.0 db +0.0 db -0.0 db 1.83203125 db +1.83203125 db -1.83203125 db 1.83203125e1 db +1.83203125e1 db -1.83203125e1 db 1.83203...
third_party/codecs/x264/common/x86/mc-a.asm
Narflex/sagetv
292
129589
;***************************************************************************** ;* mc-a.asm: h264 encoder library ;***************************************************************************** ;* Copyright (C) 2003-2008 x264 project ;* ;* Authors: <NAME> <<EMAIL>> ;* <NAME> <<EMAIL>> ;* <NAME> <<EMAIL>...
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_sm_hex.asm
meesokim/z88dk
0
129590
SECTION code_stdio PUBLIC __stdio_scanf_sm_hex PUBLIC __stdio_scanf_sm_hex_join EXTERN asm_isxdigit, __stdio_scanf_sm_write __stdio_scanf_sm_hex: ; HEXADECIMAL NUMBER STATE MACHINE ; ; Qualify function for STDIO_MSG_EATC ; ; set-up: hl = state machine function address ; de = void *buffer ...
src/SonicBoomRiseOfLyric/Cheats/DisableComboReset/patch_DisableComboReset.asm
lilystudent2016/cemu_graphic_packs
1,002
129591
<filename>src/SonicBoomRiseOfLyric/Cheats/DisableComboReset/patch_DisableComboReset.asm [WiiULauncher0US] moduleMatches = 0x90DAC5CE ; Skip BRBCharacter::ResetCombo 0x323C888 = blr [WiiULauncher0EU] moduleMatches = 0x8F7D2702 ; Skip BRBCharacter::ResetCombo 0x323C920 = blr [WiiULauncher0JP] moduleMatches = 0x0D3957...
oeis/099/A099788.asm
neoneye/loda-programs
11
129592
<reponame>neoneye/loda-programs ; A099788: a(n) = Product_{i=1..2n} prime(i). ; Submitted by <NAME> ; 1,6,210,30030,9699690,6469693230,7420738134810,13082761331670030,32589158477190044730,117288381359406970983270,557940830126698960967415390,3217644767340672907899084554130,23768741896345550770650537601358310,23286236435...
Samveen's example OS/requirements/fasmw-1.45/examples/template/template.asm
samveen/teasers
0
129593
; template for program using standard Win32 headers format PE GUI 4.0 entry start include '%include%\win32a.inc' section '.data' data readable writeable _title db 'Win32 program template',0 _class db 'FASMWIN32',0 mainhwnd dd ? hinstance dd ? msg MSG wc WNDCLASS section '.code' co...
2.0/cpm20_code/sysgen.asm
officialrafsan/CP-M
0
129594
<reponame>officialrafsan/CP-M TITLE 'SYSGEN - SYSTEM GENERATION PROGRAM 8/79' ; SYSTEM GENERATION PROGRAM, VERSION FOR MDS VERS EQU 20 ;X.X ; ; COPYRIGHT (C) DIGITAL RESEARCH ; 1976, 1977, 1978, 1979 ; NSECTS EQU 26 ;NO. OF SECTORS PER TRACK NTRKS EQU 2 ;NO. OF OPERATING SYSTEM TRACKS NDISKS EQU 4 ;N...
text/insertscripts.asm
Dimedime-d/kptranslation
3
129595
.macro _str,msg .stringn msg+"<end>" :: .align 4 .endmacro ;repointing stuff .org 0x08006E9C .word @NewEndingScript .org 0x0802E4B4 ;repointing cutscene script locations .word @Kappado1start .word @Kappado1redo .word @Kappado2start .word @Kappado2redo .word @Kappado3start .word @Kappado3redo .word @Tenko1sta...
src/AsmX86.asm
trojanfoe/ChessCore
3
129596
<filename>src/AsmX86.asm ;; ;; ChessCore (c)2008-2013 <NAME> <<EMAIL>> ;; ;; AsmX86.asm: Windows x86 assembler functions. ;; ;; See: http://msdn.microsoft.com/en-us/library/6xa169sk.aspx ;; ;; x86 __cdecl calling convention: ;; Parameters: pushed on the stack (right-to-left). ;; Return: EAX. If returning 64-bit the ED...
source/extension/option_x16/sprites/collide.asm
paulscottrobson/6502-basic
3
129597
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: collide.asm ; Purpose: Collision Detection ; Created: 29th March 2021 ; Author: <NAME> (<EMAIL>) ; ; *****...
spigot.asm
markablov/i4004-pi
0
129599
<filename>spigot.asm // Initial array fill // // rr0 - RAM bank iterator // rr1 - RAM bank index // rr2 - RAM register index // rr3 - RAM character index FIM r0, 0x80 process_bank: // select current bank LD rr1 DCL // iterate from register #0 CLB XCH rr2 process_register: // iterate from character #0 ...
oeis/101/A101156.asm
neoneye/loda-programs
11
129600
; A101156: a(n) = 2*Fibonacci(n) + 8*Fibonacci(n-5). ; 10,24,34,58,92,150,242,392,634,1026,1660,2686,4346,7032,11378,18410,29788,48198,77986,126184,204170,330354,534524,864878,1399402,2264280,3663682,5927962,9591644,15519606,25111250,40630856,65742106,106372962,172115068,278488030,450603098,729091128,1179694226,1908785...
src/SlimShader.Tests/Shaders/Sdk/Direct3D11/DetailTessellation11/DetailTessellation11_DS.asm
tgjones/slimshader
125
129601
<reponame>tgjones/slimshader // // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cbMain // { // // float4x4 g_mWorld; // Offset: 0 Size: 64 [unused] // float4x4 g_mView; // Offset: 64 Size: 64 [unused] // ...
lib/chibiakumas/SrcMSX/MSX_V1_DiskDriver.asm
gilbertfrancois/msx
0
129602
<gh_stars>0 DBASIC EQU &F37D ;The address we call to do our disk ops. ;Possible disk commands below FOPEN EQU &0F FCLOSE EQU &10 CREATE EQU &16 BLWRITE EQU &26 BLREAD EQU &27 SETDMA EQU &1A ;Disk transfer address (Destination/source) BDOS_INIT EQU &1B BDOS_RESET EQU &00 BDO...
programs/oeis/059/A059591.asm
neoneye/loda
22
129603
<gh_stars>10-100 ; A059591: Squarefree part of n^2+1. ; 1,2,5,10,17,26,37,2,65,82,101,122,145,170,197,226,257,290,13,362,401,442,485,530,577,626,677,730,785,842,901,962,41,1090,1157,1226,1297,1370,5,1522,1601,2,1765,74,1937,2026,2117,2210,2305,2402,2501,2602,2705,2810,2917,3026,3137,130,3365,3482,3601,3722,3845,3970,40...
programs/oeis/087/A087847.asm
neoneye/loda
22
129604
<reponame>neoneye/loda<gh_stars>10-100 ; A087847: a(n) = a(|n - a(n-1)|) + a(a(a(|n - a(n-4)|))). ; 1,1,1,1,2,2,3,3,3,4,4,4,4,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13 sub $0,3 ...
10-print/main.asm
soumitradev/assembly-fun
2
129605
<gh_stars>1-10 ; Ok no lookers now. We need to write a program that can write any string variable [org 0x7c00] ; Use bx as the parameter we pass mov bx, HELLO call print mov bx, GOODBYE call print ; Loop infinitely after finishing jmp $ ; Lets write a print library %include "print.asm" ; Define var...
data/maps/objects/Route24.asm
opiter09/ASM-Machina
1
129606
Route24_Object: db $2c ; border block def_warps def_signs def_objects object SPRITE_COOLTRAINER_M, 11, 15, STAY, LEFT, 1, OPP_ROCKET, 6 object SPRITE_COOLTRAINER_M, 5, 20, STAY, UP, 2, OPP_JR_TRAINER_M, 2 object SPRITE_COOLTRAINER_M, 11, 19, STAY, LEFT, 3, OPP_JR_TRAINER_M, 3 object SPRITE_COOLTRAINER_F, 10,...
programs/oeis/216/A216156.asm
neoneye/loda
22
129607
<reponame>neoneye/loda<gh_stars>10-100 ; A216156: Period of powers of 11 mod 10^n. ; 10,50,500,5000,50000,500000,5000000,50000000,500000000,5000000000,50000000000,500000000000,5000000000000,50000000000000,500000000000000,5000000000000000,50000000000000000,500000000000000000 mov $1,10 pow $1,$0 sub $1,2 div $1,2 mul $1...
programs/oeis/338/A338506.asm
neoneye/loda
22
129608
; A338506: a(n) is the number of subsets of divisors of n. ; 2,4,4,8,4,16,4,16,8,16,4,64,4,16,16,32,4,64,4,64,16,16,4,256,8,16,16,64,4,256,4,64,16,16,16,512,4,16,16,256,4,256,4,64,64,16,4,1024,8,64,16,64,4,256,16,256,16,16,4,4096,4,16,64,128,16,256,4,64,16,256,4,4096,4,16,64,64,16,256,4,1024,32,16,4,4096,16,16,16,256,4...
fiat-amd64/48.18_ratio14453_seed2237712397304101_mul_p256.asm
dderjoel/fiat-crypto
491
129609
<reponame>dderjoel/fiat-crypto SECTION .text GLOBAL mul_p256 mul_p256: sub rsp, 0xa8 ; last 0x30 (6) for Caller - save regs mov [ rsp + 0x78 ], rbx; saving to stack mov [ rsp + 0x80 ], rbp; saving to stack mov [ rsp + 0x88 ], r12; saving to stack mov [ rsp + 0x90 ], r13; saving to stack mov [ rsp + 0x98 ], r14; savin...
iocla_tema_2/caesar.asm
gabi62215/Teme
0
129610
%include "io.mac" section .text global caesar extern printf caesar: ;; DO NOT MODIFY push ebp mov ebp, esp pusha mov edx, [ebp + 8] ; ciphertext mov esi, [ebp + 12] ; plaintext mov edi, [ebp + 16] ; key mov ecx, [ebp + 20] ; length ;...
programs/oeis/005/A005096.asm
neoneye/loda
22
129611
<filename>programs/oeis/005/A005096.asm<gh_stars>10-100 ; A005096: a(n) = n! - n. ; 1,0,0,3,20,115,714,5033,40312,362871,3628790,39916789,479001588,6227020787,87178291186,1307674367985,20922789887984,355687428095983,6402373705727982,121645100408831981,2432902008176639980,51090942171709439979,1124000727777607679978,2585...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1794.asm
ljhsiun2/medusa
9
129612
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xe996, %r9 nop nop add %rbp, %rbp movb (%r9), %r10b nop nop nop cmp %r11, %r11 lea addresses_UC_ht+0x1e9f6, %rcx xor $42688, %rdi vmovups (%rcx), %ymm0 vextracti128 $0, %ymm0,...
cwiczenia2/echo.asm
adamczykpiotr/AGH_WIMiIP_Architektury_Komputerow
1
129613
section .data napis db "Wprowadz znak: ",0 napisl equ $-napis napis2 db "Wprowadzony znak: " napis2l equ $-napis2 znak db "" section .text global _start _start: ;wyswietl napis mov rax, 4 mov rbx, 1 mov rcx, napis mov rdx, napisl int 80h _petla: ;pobierz znak mov rax, 3 mov rbx, 0 mov rcx, znak mov rdx...
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2_notsx.log_246_613.asm
ljhsiun2/medusa
9
129615
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx lea addresses_WT_ht+0x18d68, %rbp nop nop nop nop inc %rbx movb $0x61, (%rbp) nop nop nop sub $25462, %r12 lea addresses_normal_ht+0x16fe8, %rdx inc %rdi mov (%rdx), %cx xor %rdx, %rdx lea addresses_A_ht+0...
oeis/027/A027878.asm
neoneye/loda-programs
11
129616
; A027878: a(n) = Product_{i=1..n} (10^i - 1). ; Submitted by <NAME> ; 1,9,891,890109,8900199891,890011088900109,890010198889020099891,8900101098880002109889900109,890010100987899112108987901010099891,890010100097889011121088788901111989989900109,8900101000088880011112998877890031110997889100010099891,89001009999998790...
6502/clear screen.asm
nikosev/gabrielsroka.github.io
70
129617
<reponame>nikosev/gabrielsroka.github.io ; clear screen define screenStartHi $02 define pages $04 define bgColor $01 // white define screen $0 define page $1 lda #screenStartHi sta page lda #bgColor ldx #pages xLoopClearScreen: ldy #$00 yLoopClearScreen: sta (screen),y iny bne yLoop...
programs/oeis/021/A021580.asm
neoneye/loda
22
129618
<reponame>neoneye/loda ; A021580: Decimal expansion of 1/576. ; 0,0,1,7,3,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 add $0,1 mov $1,10 pow $1,$0 mul $1,2 div $1,1152 mod $1,...
programs/oeis/215/A215476.asm
neoneye/loda
22
129620
<reponame>neoneye/loda<gh_stars>10-100 ; A215476: Minimum number of comparisons needed to find the median of n elements. ; 0,1,3,4,6,8,10,12,14,16,18,20,23 add $0,15 pow $0,2 div $0,22 sub $0,10
oeis/035/A035253.asm
neoneye/loda-programs
11
129621
<gh_stars>10-100 ; A035253: Second differences are 2,2,1,2,1,1,2,1,1,1,2,1,1,1,1,2,1,1,1,1,1,2,.. (A035214). ; 4,1,0,1,3,7,12,18,26,35,45,56,69,83,98,114,131,150,170,191,213,236,260,286,313,341,370,400,431,463,497,532,568,605,643,682,722,763,806,850,895,941,988,1036,1085,1135 lpb $0 sub $0,1 mov $2,$0 max $2,0 ...
main.asm
piquan/pic-radio
0
129622
#include "p16f1619.inc" ;;; I/O peripherials: ;; Antenna: RC1 ;; XXX It would be better to use RC4 or RC5 for the antenna, ;; since those can be put in high drive strength mode. But ;; note that the board has assignments for those already. ;; Modulation debug port: RC2 ;; LED D4: RA5 : Toggle on each note ;; LED D5: ...
Appl/SDK_Asm/Text/TRule/trule.asm
steakknife/pcgeos
504
129623
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: TRule (Sample PC GEOS application) FILE: trule.asm REVISION HISTORY: Name Date Description ---- ---- ----------- tony 7/91 Initial version ...
resources/asm/na/actorlistloader_arm9.asm
SkyTemple/ppmdu
37
129625
; For use with ARMIPS v0.7d ; By: <EMAIL> ; 2016/09/17 ; For Explorers of Sky North American ONLY! ; ------------------------------------------------------------------------------ ; Copyright © 2016 <NAME> <<EMAIL>> ; This work is free. You can redistribute it and/or modify it under the ; terms of the Do What The Fuck ...
src/sound/septette_for_the_dead_princess/channel3.asm
Gegel85/RemiFlap
0
129626
musicChan3RemiliaTheme:: setRegisters $80, $40, $00, $00, $00 repeat 4 setVolume $40 setFrequency NOTE_G / 2, $80 wait CROTCHET setVolume $0 wait QUAVER setVolume $40 wait CROTCHET setVolume $0 wait QUAVER setVolume $40 setFrequency NOTE_Ab / 2, $80 wait CROTCHET continue setFrequency NOTE_Eb / 2, $80...
oeis/024/A024560.asm
neoneye/loda-programs
11
129627
<filename>oeis/024/A024560.asm ; A024560: a(n) = Sum_{k=1..n} floor(1/{k*sqrt(6)}) where {x} := x - floor(x). ; Submitted by <NAME> ; 2,3,5,6,10,11,17,18,40,42,43,45,46,49,50,55,56,67,68,69,71,72,74,75,79,80,87,88,116,118,119,121,122,125,126,131,132,144,145,146,148,149,152,153,157,158,165,166,206,208,209,211,212,215,21...
examples/hello.asm
jblang/z80ctrl
53
129628
<reponame>jblang/z80ctrl<filename>examples/hello.asm ; z80ctrl (https://github.com/jblang/z80ctrl) ; Copyright 2018 <NAME> ; ; Permission is hereby granted, free of charge, to any person obtaining a ; copy of this software and associated documentation files (the "Software"), ; to deal in the Software without restrict...
oeis/073/A073306.asm
neoneye/loda-programs
11
129629
<gh_stars>10-100 ; A073306: a(n) = Product_{2i<n} binomial(2*n-2*i-1, 2*i). ; Submitted by <NAME>(s3) ; 1,1,1,3,10,105,1260,48510,2162160,312161850,52562109600,28836887379300,18539497049673600,38989721014029185400,96410946507417622080000,782067521015701609508820000 mov $2,1 lpb $0 sub $0,1 mov $1,$0 sub $0,1 a...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_183.asm
ljhsiun2/medusa
9
129630
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1c0c8, %rsi nop nop nop nop sub %r11, %r11 mov $0x6162636465666768, %r13 movq %r13, %xmm1 movups %xmm1, (%rsi) sub %rbx, %rbx lea addresses_UC_ht+0x14258, %rsi lea addre...
src/kernel/loadle.asm
amindlost/wdosx
7
129632
; ############################################################################ ; ## WDOSX DOS Extender Copyright (c) 1996, 2005, <NAME> ## ; ## ## ; ## Released under the terms of the WDOSX license agreement. ## ; ###########...
8088/cga/transition/fade.asm
reenigne/reenigne
92
129633
org 0x100 cpu 8086 programBase: pitCyclesPerScanline equ 76 ; Fixed by CGA hardware scanlinesPerFrame equ 262 ; Fixed by NTSC standard activeScanlines equ 200 ; Standard CGA full-screen visual_profiler equ 0 onScreenPitCycles equ pitCyclesPerScanline*activeScanlines - 22 offScreenPitCycles ...
Transynther/x86/_processed/NONE/_ht_zr_/i7-8650U_0xd2.log_2860_1378.asm
ljhsiun2/medusa
9
129635
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x68a5, %r9 nop nop nop nop and %r14, %r14 mov (%r9), %r8w nop nop nop nop nop add %r12, %r12 lea addresses_normal_ht+0x1dea5, %rax nop nop nop nop nop a...
Labs/Lab4_Sum-Multiplication-Arrays/8-divide/divide.asm
CristianCotovanu/IOCLA
0
129636
<gh_stars>0 %include "io.inc" ; https://en.wikibooks.org/wiki/X86_Assembly/Arithmetic section .data string_quotient db "Quotient: ", 0 string_remainder db "Remainder: ", 0 dividend1 db 91 divisor1 db 27 dividend2 dd 67254 divisor2 dw 1349 dividend3 dq 69094148 divisor3 dd 8...
libtool/src/gmp-6.1.2/mpn/powerpc32/submul_1.asm
kroggen/aergo
1,602
129638
<gh_stars>1000+ dnl PowerPC-32 mpn_submul_1 -- Multiply a limb vector with a limb and subtract dnl the result from a second limb vector. dnl Copyright 1995, 1997, 1998, 2000, 2002, 2005 Free Software Foundation, dnl Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; y...
src/boot/print_hex.asm
RoyShulman/OS
1
129639
[bits 16] ; Use dx as the parameter value to print print_hex: pusha mov bx, 5 ; start after 0x print_hex_loop: mov al, dl and al, 0xf add al, '0' cmp al, '9' jbe less_then_a add al, 7 less_then_a: mov [HEX_OUT + bx], al dec bx cmp bx, 1 ; check if we filled all 4 bytes je end_print_hex ror dx, 4 jmp prin...
Engine Hacks/Skill System/Teq Skills/FE8-Capture/FE8-Capture/New_Attack_Map.asm
sme23/MekkahRestrictedHackComp1
1
129640
<reponame>sme23/MekkahRestrictedHackComp1 .thumb .org 0x0 @modifies the check to figure out which weapons can be selected after pressing attack. Function checks if capture bit is set and then branches appropriately. Bxed to from 22CD0 @r0=current char data ptr, r5=current char pointer (3004e50), r4=item id/uses. Alrea...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_737.asm
ljhsiun2/medusa
9
129641
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xd742, %rbx nop nop and %r10, %r10 movups (%rbx), %xmm5 vpextrq $1, %xmm5, %r13 nop nop nop and %r8, %r8 lea addresses_UC_ht+0x30c2, %rsi lea addresses_normal_h...
oeis/086/A086360.asm
neoneye/loda-programs
11
129643
; A086360: Fixed point if (decimal-digit-sum)-function at initial value = n-th primorial = A002110(n) is iterated. ; 2,6,3,3,6,6,3,3,6,3,3,3,6,6,3,6,3,3,3,6,6,6,3,6,6,3,3,6,6,3,3,6,3,3,6,6,6,6,3,6,3,3,6,6,3,3,3,3,6,6,3,6,6,3,6,3,6,6,6,3,3,6,6,3,3,6,6,6,3,3,6,3,3,3,3,6,3,3,6,6,3,3,6,6,6,3,6,6,3,3,6,3,3,6,6,3,6,3,3,3 ad...
libsrc/_DEVELOPMENT/adt/wv_stack/z80/asm_wv_stack_push.asm
meesokim/z88dk
0
129644
<gh_stars>0 ; =============================================================== ; Mar 2014 ; =============================================================== ; ; int wv_stack_push(wv_stack_t *s, void *item) ; ; Push item onto stack. ; ; =============================================================== SECTION code_adt_wv...
oeis/122/A122590.asm
neoneye/loda-programs
11
129647
<filename>oeis/122/A122590.asm ; A122590: a(n) = 2*a(n-1) - a(n-2) - (a(n-1)^2 + a(n-2)^2). ; Submitted by <NAME> ; 1,1,-1,-5,-35,-1315,-1733045,-3003450166025,-9020712899804610407871655,-81373261220701303171562403760549780420204382316935,-66216076416924905407484157396150987122164932055436119156302846965887683057185307...
basic/05_addressing_mode/addressing_mode.asm
bellshade/Assembly
6
129648
<reponame>bellshade/Assembly ; compile dengan cara ; nasm -f elf32 -o namafile.o namafile.asm ; ld -m elf_i386 -o namafile namafile.o ; ./namafile section .text global _start _start: ; membuat nama 'jole' mov edx, 9 ; panjang dari pesan mov ecx, nama ; pesan yang akan ditulis mov ...
Library/Kernel/Drive/driveHigh.asm
steakknife/pcgeos
504
129649
<reponame>steakknife/pcgeos COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC/GEOS MODULE: Drive FILE: driveHigh.asm AUTHOR: Cheng, 11/89 ROUTINES: Name Description ---- ----------- GLB DriveGetS...
Assembly/textbox/menu_items_effect.asm
WildGenie/Ninokuni
14
129650
<reponame>WildGenie/Ninokuni ;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in the effect of items ;; Copyright 2014 <NAME> (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except i...
oeis/329/A329625.asm
neoneye/loda-programs
11
129651
; A329625: Smallest BII-number of a connected set-system with n edges. ; Submitted by <NAME> ; 0,1,5,7,23,31,63,127,383,511,1023,2047,4095,8191 mov $2,$0 mov $3,1 lpb $0 sub $0,1 mul $4,$2 cmp $4,$3 mul $3,2 mul $4,$2 add $3,$4 mov $4,1 lpe mov $0,$3 sub $0,1
Driver/Video/Dumb/VidMem/CMYK/cmykRaster.asm
steakknife/pcgeos
504
129652
<filename>Driver/Video/Dumb/VidMem/CMYK/cmykRaster.asm<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: VidMem driver FILE: cmykRaster.asm AUTHOR: <NAME>, Mar 2, 1992 ROUTINES:...
oeis/340/A340078.asm
neoneye/loda-programs
11
129653
<reponame>neoneye/loda-programs ; A340078: a(n) = gcd(n, 1+A018804(n)), where A018804(n) = Sum_{k=1..n} gcd(k, n). ; Submitted by <NAME>(s4) ; 1,2,3,1,5,2,7,1,1,2,11,1,13,2,1,1,17,2,19,1,3,2,23,1,1,2,1,7,29,2,31,1,1,2,1,1,37,2,3,1,41,14,43,1,5,2,47,1,1,2,1,1,53,2,5,1,3,2,59,1,61,2,1,1,1,2,67,1,1,2,71,1,73,2,1,1,1,2,79,...
oeis/180/A180140.asm
neoneye/loda-programs
11
129654
<filename>oeis/180/A180140.asm ; A180140: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: (1+x+x^2)/(1-3*x-5*x^2). ; Submitted by <NAME> ; 1,4,18,74,312,1306,5478,22964,96282,403666,1692408,7095554,29748702,124723876,522915138,2192364794,9191670072,38536834186,161568852918,677390729684,2840016453642,11907003...
libsrc/_DEVELOPMENT/arch/sms/misc/z80/asm_sms_tiles_clear_area.asm
jpoikela/z88dk
640
129655
<filename>libsrc/_DEVELOPMENT/arch/sms/misc/z80/asm_sms_tiles_clear_area.asm ; void sms_tiles_clear_area(struct r_Rect8 *r, unsigned int background) ; ; Clear the rectangular area on screen SECTION code_clib SECTION code_arch PUBLIC asm_sms_tiles_clear_area EXTERN asm_sms_cls_wc defc asm_sms_tiles_clear_area = asm_...
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_49_1976.asm
ljhsiun2/medusa
9
129656
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1736e, %rsi lea addresses_UC_ht+0x15c1e, %rdi nop nop nop sub %r11, %r11 mov $30, %rcx rep movsl nop nop and %r9, %r9 lea addresses_UC_ht+0x34de, %r1...
math.asm
RevolutionSoftware/Juego
1
129658
<filename>math.asm ;############################################################################################# ;# SHAPES AND DRAWING ;b = height ;c = width ;d = starting x ;e = starting y drawBox: dec b dec b dec b dec b ld a,(yOff) add a,e ld e,a ld a,(xOff) add a,d ld d,a and $7 ex af,af' ld a,d...
sources/password_encoder.asm
matteosev/password_encoder
0
129659
<reponame>matteosev/password_encoder ; enter a password, returns an encoded password ; x86_64 assembly intel syntax ; 64 bits linux syscalls %include "module.asm" LEN equ 100 section .data ligne db " -------------------------------------", 10, 0 description db " | Encodage de chaines de caractères |", 10, 0...
_build/dispatcher/jmp_ippsSHA384Duplicate_0e179b0d.asm
zyktrcn/ippcp
1
129660
extern m7_ippsSHA384Duplicate:function extern n8_ippsSHA384Duplicate:function extern y8_ippsSHA384Duplicate:function extern e9_ippsSHA384Duplicate:function extern l9_ippsSHA384Duplicate:function extern n0_ippsSHA384Duplicate:function extern k0_ippsSHA384Duplicate:function extern ippcpJumpIndexForMergedLibs extern ippcp...
programs/oeis/060/A060800.asm
neoneye/loda
22
129661
<gh_stars>10-100 ; A060800: a(n) = p^2 + p + 1 where p runs through the primes. ; 7,13,31,57,133,183,307,381,553,871,993,1407,1723,1893,2257,2863,3541,3783,4557,5113,5403,6321,6973,8011,9507,10303,10713,11557,11991,12883,16257,17293,18907,19461,22351,22953,24807,26733,28057,30103,32221,32943,36673,37443,39007,39801,447...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2212.asm
ljhsiun2/medusa
9
129662
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x19c47, %rsi lea addresses_normal_ht+0x53fd, %rdi nop nop add $39812, %rbp mov $88, %rcx rep movsl nop nop sub $25733, %r8 lea addresses_WT_ht+0x128c7, %r8 clflush (%r8)...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1683.asm
ljhsiun2/medusa
9
129664
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1d349, %rsi lea addresses_UC_ht+0x13e69, %rdi nop nop nop add %rax, %rax mov $46, %rcx rep movsl sub %rbp, %rbp lea addresses_UC_ht+0xef1, %rsi lea...
arch/z80/src/ez80/ez80_vectors.asm
19cb0475536a9e7d/nuttx
0
129665
;************************************************************************** ; arch/z80/src/ez80/ez80_vectors.asm ; ; Copyright (C) 2008-2009, 2020 <NAME>. All rights reserved. ; Author: <NAME> <<EMAIL>> ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided tha...
src/Native/Runtime/arm/WriteBarriers.asm
ZZHGit/corert
0
129666
;; ;; Copyright (c) Microsoft. All rights reserved. ;; Licensed under the MIT license. See LICENSE file in the project root for full license information. ;; ;; ;; Define the helpers used to implement the write barrier required when writing an object reference into a ;; location residing on the GC heap. Such write bar...
Day-09/given_input_number_count.asm
MasumBhai/50-Day-challenge-with-Assembly-Language
1
129667
;Day-09 Date-18 april,2021 ;problem - print number of input in given input line & take input until enter is pressed ;problem constraints - input number <= 9 .model small .stack 100h include 'emu8086.inc' .data msg1 db "input : $" msg2 db 0ah,0dh,"Output : $" n_line db 0ah,0dh,"$" ;for new line .c...
ex4.asm
JLJL0308/x86_Assembly
0
129668
global _start section .text _start: mov ebx, 1 ;start ebx at 1 mov ecx, 6 ;number of iterations label: add ebx, ebx ;ebx += ebx dec ecx ;ecx -= 1 cmp ecx, 0 ;compare ecx with 0 jg label ;jump to label if greater mov eax, 1 ;sys_exit system call int 0x80