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
P6/data_P6_2/MDTest56.asm
alxzzhou/BUAA_CO_2020
1
123529
<filename>P6/data_P6_2/MDTest56.asm ori $ra,$ra,0xf addiu $0,$0,18459 mtlo $0 sll $4,$3,24 ori $6,$6,23386 mflo $1 addu $5,$4,$4 mflo $6 mthi $3 lui $0,9548 multu $3,$3 lui $6,43178 addiu $4,$1,-11422 ori $5,$0,59504 sll $2,$6,16 addiu $4,$0,-4969 mtlo $5 mtlo $5 div $1,$ra multu $4,$5 addiu $4,$5,6759 mult $2,$2 mult ...
oeis/027/A027942.asm
neoneye/loda-programs
11
123530
<filename>oeis/027/A027942.asm ; A027942: a(n) = T(2n+1, n+2), T given by A027935. ; 1,11,51,176,530,1490,4043,10773,28445,74770,196116,513876,1345861,3524111,9226935,24157220,63245318,165579398,433493615,1134902265,2971214081,7778740966,20365009896,53316289896,139583861065,365435294675,956722024443,2504730780248,65574...
23.asm
AsadKhalil/Assembly_x86
0
123531
[org 0x0100] mov AX, 33 mov BX, 33 mov CX, 33 not AX XOR BX, 0xFFFF neg CX sub CX, 1 int 0x21
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2869.asm
ljhsiun2/medusa
9
123532
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x6431, %rsi lea addresses_WT_ht+0x47ff, %rdi inc %r13 mov $23, %rcx rep movsw nop nop nop mfence lea addresses_D_ht+0x10f51, %r8 nop xor %rbp, %rbp mov (%r8), %rsi nop nop...
libsrc/graphics/z9001/clg.asm
jpoikela/z88dk
640
123533
; ; Fast CLS for the Robotron Z9001 ; Stefano - Sept 2016 ; ; ; $Id: clg.asm,v 1.2 2017-01-02 22:57:59 aralbrec Exp $ ; SECTION code_clib PUBLIC clg PUBLIC _clg .clg ._clg ld hl,0 ld d,h ld e,h add hl,sp ld b,8 ld a,@00001000 ; GFX mode bit .g_gcls1 ...
libsrc/graphics/nc/w_pixladdr.asm
jpoikela/z88dk
640
123534
<reponame>jpoikela/z88dk ; Graphics library for the Amstrad NC ; Stefano - 2017 SECTION code_clib PUBLIC w_pixeladdress INCLUDE "graphics/grafix.inc" ; ; $Id: w_pixladdr.asm $ ; ; ****************************************************************** ; Get absolute pixel address in map of...
engine/dependencies/tbb/src/tbb/intel64-masm/itsx.asm
jose-villegas/VCT_Engine
459
123536
<filename>engine/dependencies/tbb/src/tbb/intel64-masm/itsx.asm ; Copyright 2005-2015 Intel Corporation. All Rights Reserved. ; ; This file is part of Threading Building Blocks. Threading Building Blocks is free software; ; you can redistribute it and/or modify it under the terms of the GNU General Public License ; ve...
libsrc/msx/gen_filvrm.asm
grancier/z180
0
123537
; ; z88dk library: Generic VDP support code ; ; FILVRM ; ; ; $Id: gen_filvrm.asm,v 1.3 2016/06/16 19:30:25 dom Exp $ ; SECTION code_clib PUBLIC FILVRM EXTERN SETWRT INCLUDE "msx/vdp.inc" FILVRM: push af call SETWRT loop: pop af out (VDP_DATA),a push af dec bc ld a,b or c jr nz,loop pop af r...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_1420.asm
ljhsiun2/medusa
9
123538
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0xdcc2, %rsi lea addresses_WT_ht+0x60b2, %rdi sub %r15, %r15 mov $47, %rcx rep movsl nop nop nop nop dec %r8 lea addresses_D_ht+0x1b026, %rax nop nop nop nop nop dec %r8 mov (%...
programs/oeis/184/A184675.asm
jmorken/loda
1
123539
; A184675: n + floor(sqrt(n) + sqrt(n+1)); complement of A184674. ; 3,5,6,8,9,11,12,13,15,16,17,19,20,21,22,24,25,26,27,29,30,31,32,33,35,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,55,56,57,58,59,60,61,63,64,65,66,67,68,69,71,72,73,74,75,76,77,78,80,81,82,83 mov $3,$0 add $0,2 mul $0,4 lpb $0 sub $0,$1 trn $0...
examples/stack.asm
1011X/REL16-VM
2
123540
<filename>examples/stack.asm ; uses built-in stack to push 2 numbers, then ; pops them and adds them ; initialization not sp ; sp = 0xffff not x6 ; bp = 0xffff ; summon 2 values from the void ; and send them to The Stack xor x0 5 ; x0 = 5 push x0 ; push(x0, sp) xor x0 3 ; x0 = 3 push x0 ; pus...
programs/oeis/097/A097733.asm
neoneye/loda
22
123541
<reponame>neoneye/loda ; A097733: Pell equation solutions (7*b(n))^2 - 2*(5*a(n))^2 = -1 with b(n)=A097732(n), n >= 0. Note that D=50=2*5^2 is not squarefree. ; 1,197,39005,7722793,1529074009,302748930989,59942759261813,11868363584907985,2349876047052519217,465263588952813896981,92119840736610099083021,1823926320225984...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_831.asm
ljhsiun2/medusa
9
123542
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x15ba2, %rbx cmp %r10, %r10 movb (%rbx), %cl nop nop nop and $62269, %r8 lea addresses_WC_ht+0x1cbd2, %rsi lea addresses_normal_ht+0x6f8e, %rdi nop sub $11520, ...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshr_pxy2saddr_callee.asm
Frodevan/z88dk
640
123543
<reponame>Frodevan/z88dk ; void *tshr_pxy2saddr(uint x, uchar y) SECTION code_clib SECTION code_arch PUBLIC tshr_pxy2saddr_callee EXTERN asm_tshr_pxy2saddr tshr_pxy2saddr_callee: pop af pop hl dec sp pop bc push af ld c,b jp asm_tshr_pxy2saddr ; SDCC bridge for Classic IF __CLASSIC PUBLIC _t...
programs/oeis/024/A024169.asm
karttu/loda
0
123545
; A024169: Integer part of ((2nd elementary symmetric function of 1,2,...,n)/(1+2+...+n)). ; 0,0,1,3,5,8,11,15,19,24,29,34,41,47,54,62,70,79,88,98,108,119,130,141,154,166,179,193,207,222,237,253,269,286,303,320,339,357,376,396,416,437,458,480,502,525,548,571,596,620,645,671,697,724,751,779,807,836,865,894,925,955,986,1...
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_7067_263.asm
ljhsiun2/medusa
9
123547
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x147e3, %r14 nop nop nop nop xor %rax, %rax movb (%r14), %r8b nop nop inc %r15 lea addresses_WT_ht+0x13b91, %r14 nop nop nop nop nop and $21644, %r11 mov (%r14), %ebp...
libsrc/_DEVELOPMENT/target/rc2014/device/8255/8080/8255_read_block.asm
UnivEngineer/z88dk
4
123548
IF __CPU_INTEL__ INCLUDE "_DEVELOPMENT/target/rc2014/config_rc2014-8085_private.inc" ELIF __CPU_Z80__ INCLUDE "config_private.inc" ENDIF SECTION code_driver PUBLIC ide_read_block ;Read a block of 512 bytes (one sector) from the drive ;16 bit data register and store it in memory at (HL++) ;uses AF, BC, H...
libsrc/target/vector06c/input/in_keytranstbl.asm
Frodevan/z88dk
640
123550
; This table translates key presses into ascii codes. ; Also used by 'GetKey' and 'LookupKey'. An effort has been made for ; this key translation table to emulate a PC keyboard with the 'CTRL' key SECTION rodata_clib PUBLIC in_keytranstbl .in_keytranstbl ;Unshifted defb 7, 127, 13, 12, 8, 11, 9, 10 ; T...
_incObj/50 Yadrin.asm
kodishmediacenter/msu-md-sonic
9
123551
; ||||||||||||||| S U B R O U T I N E ||||||||||||||||||||||||||||||||||||||| Yad_ChkWall: move.w (v_framecount).w,d0 add.w d7,d0 andi.w #3,d0 bne.s loc_F836 moveq #0,d3 move.b obActWid(a0),d3 tst.w obVelX(a0) bmi.s loc_F82C bsr.w ObjHitWallRight tst.w d1 bpl.s loc_F836 loc_F828: moveq #1,d0 ...
non_regression/string_x86_linux.mingw.s.asm
LRGH/plasmasm
1
123553
<reponame>LRGH/plasmasm<filename>non_regression/string_x86_linux.mingw.s.asm<gh_stars>1-10 .file "a07.c" .intel_syntax .data .align 4 .def _a; .scl 2; .endef _a: .long 12 # ---------------------- .section .rdata,"dr" LC0: .ascii "hello\n\000" LC1: .ascii "test\000" # ---------------------- .data .align...
oeis/067/A067742.asm
neoneye/loda-programs
11
123554
; A067742: Number of middle divisors of n, i.e., divisors in the half-open interval [sqrt(n/2), sqrt(n*2)). ; Submitted by <NAME> ; 1,1,0,1,0,2,0,1,1,0,0,2,0,0,2,1,0,1,0,2,0,0,0,2,1,0,0,2,0,2,0,1,0,0,2,1,0,0,0,2,0,2,0,0,2,0,0,2,1,1,0,0,0,2,0,2,0,0,0,2,0,0,2,1,0,2,0,0,0,2,0,3,0,0,0,0,2,0,0,2,1,0,0,2,0,0,0,2,0,2,2,0,0,0,...
lib/osca_crt0.asm
meesokim/z88dk
0
123555
; CRT0 stub for the Old School Computer Architecture (FLOS) ; ; <NAME> - Jul. 2011 ; ; ; EXTRA OPTIONS: ; ; At C source level: ; #pragma output osca_bank=(0..14) set the memory bank for locations > 32768 before loading program ; #pragma output osca_stack=<value> put the stack in a differen pla...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca.log_21829_1326.asm
ljhsiun2/medusa
9
123556
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x12f8, %r12 nop nop nop nop nop sub $24718, %rsi movups (%r12), %xmm4 vpextrq $1, %xmm4, %rbx nop cmp $23429, %rax lea addresses_D_ht+...
oeis/192/A192461.asm
neoneye/loda-programs
11
123557
<reponame>neoneye/loda-programs<filename>oeis/192/A192461.asm ; A192461: Coefficient of x in the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments. ; Submitted by <NAME>(w1) ; 1,3,21,199,2406,35388,613141,12228651,275906565,6947421085,193127008800,5874229869420,194051905056955,6918430857234105,26...
tests/test.asm
StevenBaby/compiler
2
123558
section .text global main main: mov eax, 4; write mov ebx, 1; stdout mov ecx, message; buffer mov edx, message.end - message int 0x80 mov eax, 1; exit mov ebx, 0; status int 0x80 section .data message: db "hello world!!!", 10, 13, 0 .end:;
native/nlabs/samples/masm/len/func.asm
0xCM/z0
0
123559
<filename>native/nlabs/samples/masm/len/func.asm .code djb proc ; rcx == char *str ; rdx == size_t len push r9 push r8 mov rax,1505h xor r9,r9 ; loop counter cmp rdx,r9 je end_l0 l0: movzx r8,byte ptr [rcx+r9] add r8,rax shl rax,5 add rax,r8 add r9,1 cmp rdx,r9 jne l0 end_l0: nop pop r8 pop r9 ...
src/shaders/vme/batchbuffer.asm
digetx/intel-vaapi-driver
192
123562
<gh_stars>100-1000 /* * Copyright © 2012 Intel Corporation * * 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,...
programs/oeis/151/A151783.asm
jmorken/loda
1
123563
; A151783: a(n) = 4^{wt(n)-1}. ; 1,1,4,1,4,4,16,1,4,4,16,4,16,16,64,1,4,4,16,4,16,16,64,4,16,16,64,16,64,64,256,1,4,4,16,4,16,16,64,4,16,16,64,16,64,64,256,4,16,16,64,16,64,64,256,16,64,64,256,64,256,256,1024,1,4,4,16,4,16,16,64,4,16,16,64,16,64 mov $16,$0 mov $18,2 lpb $18 clr $0,16 mov $0,$16 sub $18,1 add $...
oeis/060/A060372.asm
neoneye/loda-programs
11
123564
; A060372: p(n), positive part of n when n=p(n)-q(n) with p(n), q(n), p(n)+q(n) in A005836, integers written without 2 in base 3. ; Submitted by <NAME> ; 0,1,3,3,4,9,9,10,9,9,10,12,12,13,27,27,28,27,27,28,30,30,31,27,27,28,27,27,28,30,30,31,36,36,37,36,36,37,39,39,40,81,81,82,81,81,82,84,84,85,81,81,82,81,81,82,84,84,8...
text/maps/route_11_2.asm
etdv-thevoid/pokemon-rgb-enhanced
9
123565
_Route11EndBattleText9:: text "Whoa!" line "You spark plug!" prompt _Route11AfterBattleText9:: text "Well, better get" line "back to work." done _Route11BattleText10:: text "My #MON should" line "be ready by now!" done _Route11EndBattleText10:: text "Too" line "much, too young!" prompt _Route11AfterBatt...
dino/lcs/base/4F1.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
123566
<filename>dino/lcs/base/4F1.asm copyright zengfr site:http://github.com/zengfr/romhack 00AAC4 move.b D0, ($4f1,A5) 00AAC8 move.b D0, ($4fc,A5) 025046 addq.b #1, ($4f1,A5) [item+40, item+42] 02504A move.w #$201, ($a0,A6) [base+4F1] 0264EA subq.b #1, ($4f1,A5) 0264EE bcc $264f6 [base+4F1] copyright zen...
programs/oeis/281/A281367.asm
neoneye/loda
22
123567
; A281367: "Nachos" sequence based on triangular numbers. ; 1,2,3,1,2,3,4,2,3,1,2,3,4,2,3,4,5,3,4,1,2,3,4,2,3,4,5,3,4,2,3,4,5,3,1,2,3,4,2,3,4,5,3,4,2,3,4,5,3,4,5,6,4,5,2,1,2,3,4,2,3,4,5,3,4,2,3,4,5,3,4,5,6,4,5,2,3,4,5,3,4,5,6,1,2,3,4,2,3,4,5,3,4,2,3,4,5,3,4,5 add $0,1 lpb $0 mov $2,$0 seq $2,332663 ; Even bisectio...
oeis/177/A177370.asm
neoneye/loda-programs
11
123568
<reponame>neoneye/loda-programs ; A177370: (1+7*x-6*x^2)/(1-4*x-8*x^2+6*x^3) ; Submitted by <NAME> ; 1,11,46,266,1366,7316,38596,204716,1083736,5741096,30405976,161050256,853002256,4517975216,23929617376,126744257696,671306118496,3555600831296,18832386726976,99746516847296 lpb $0 sub $0,1 add $2,3 add $2,$1 ad...
arch/x86-64/asm/trace.asm
Granary/granary2
41
123569
<gh_stars>10-100 /* Copyright 2014 <NAME>, all rights reserved. */ #include "arch/x86-64/asm/include.asm.inc" #ifndef GRANARY_RECURSIVE START_FILE_INTEL DECLARE_FUNC(granary_trace_block_regs) DEFINE_FUNC(granary_trace_block) // Saved IP is already on the stack in the form of the return address. // Slightl...
Lab1/Program6_expression.asm
zeynepCankara/Computer_Organization_Labs
3
123570
# <NAME> -- 27/02/2019 # Program4.asm -- Implements the arithmetic expression x = (4 * a * b) % ((c - 2) / 3) #************************ # * # text segment * # * #************************ .globl __start .text __start: # prompt the program task on screen li $v0, 4 la $a0, task syscall ## Get value...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_1898_913.asm
ljhsiun2/medusa
9
123571
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xd05f, %r13 nop nop nop cmp $58530, %r14 movl $0x61626364, (%r13) nop sub $60240, %rdx lea addresses_WT_ht+0x1b04e, %rbx nop nop xor %rcx, %rcx mov $0x6162636465666768, %rdx ...
programs/oeis/075/A075518.asm
neoneye/loda
22
123572
; A075518: a(n) = floor(prime(n)/4). ; 0,0,1,1,2,3,4,4,5,7,7,9,10,10,11,13,14,15,16,17,18,19,20,22,24,25,25,26,27,28,31,32,34,34,37,37,39,40,41,43,44,45,47,48,49,49,52,55,56,57,58,59,60,62,64,65,67,67,69,70,70,73,76,77,78,79,82,84,86,87,88,89,91,93,94,95,97,99,100,102,104,105,107,108,109,110,112,114,115,115,116,119,121...
tests/exec/io/in_display.asm
ykskb/dax86
12
123573
<gh_stars>10-100 BITS 32 org 0x7c00 start: mov edx, 0x03f8 mainloop: mov al, '>' out dx, al input: in al, dx cmp al, 'h' je puthello cmp al, 'w' je putworld cmp al, 'q' je fin jmp input puthello: mov esi, msghello call puts jmp mainloop putworld: mov esi...
programs/oeis/047/A047296.asm
neoneye/loda
22
123574
<reponame>neoneye/loda<filename>programs/oeis/047/A047296.asm ; A047296: Numbers that are congruent to {3, 4, 6} mod 7. ; 3,4,6,10,11,13,17,18,20,24,25,27,31,32,34,38,39,41,45,46,48,52,53,55,59,60,62,66,67,69,73,74,76,80,81,83,87,88,90,94,95,97,101,102,104,108,109,111,115,116,118,122,123,125,129,130,132,136,137,139,143...
oeis/246/A246360.asm
neoneye/loda-programs
11
123575
; A246360: a(1) = 1, then A007051 ((3^n)+1)/2 interleaved with A057198 (5*3^(n-1)+1)/2. ; Submitted by <NAME>(s4) ; 1,2,3,5,8,14,23,41,68,122,203,365,608,1094,1823,3281,5468,9842,16403,29525,49208,88574,147623,265721,442868,797162,1328603,2391485,3985808,7174454,11957423,21523361,35872268,64570082,107616803,193710245,3...
programs/oeis/276/A276882.asm
neoneye/loda
22
123576
; A276882: Sums-complement of the Beatty sequence for 2 + sqrt(2). ; 1,2,5,8,9,12,15,16,19,22,25,26,29,32,33,36,39,42,43,46,49,50,53,56,57,60,63,66,67,70,73,74,77,80,83,84,87,90,91,94,97,98,101,104,107,108,111,114,115,118,121,124,125,128,131,132,135,138,141,142,145 mov $2,$0 mul $2,$0 lpb $2 add $2,$3 sub $3,2 a...
base/Imported/Bartok/runtime/shared/native/arch/amd64/gc.asm
sphinxlogic/Singularity-RDK-2.0
0
123577
<reponame>sphinxlogic/Singularity-RDK-2.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; include core.inc PAGE_BITS EQU 12 MASK_OWNER EQU 03h ;; Let's define some shorter nam...
src/scrollrate_fix.asm
mvdhout1992/ts-patches
33
123578
%include "TiberianSun.inc" %include "macros/patch.inc" %include "macros/datatypes.inc" gint ScrollDelay, 0 sint LastScrollTick, 0 hack 0x005E8DEA, 0x005E8DF0 ; don't call the scroll function too often (edge - ScrollClass_Do_Scroll_5E8DD0) mov ecx, dword[0x0074C254] pushad call ScrollAllowed cmp al,...
Microsoft Word for Windows Version 1.1a/Word 1.1a CHM Distribution/Opus/asm/int3f.asm
lborgav/Historical-Source-Codes
7
123579
<reponame>lborgav/Historical-Source-Codes include w2.inc include noxport.inc include consts.inc include structs.inc include newexe.inc createSeg _INT3F,int3f,byte,public,CODE ; ; struct OFSTRUCT definition ; cBytesOfstruct equ [byte ptr 00000h] fFixedDiskOfstruct equ [byte ptr 00001h] nErrCodeOfs...
src/firmware/ConfigWords.asm
pete-restall/Cluck2Sesame-Prototype
1
123580
#include "Mcu.inc" radix decimal config FOSC=INTRCIO config WDTE=OFF config PWRTE=ON config MCLRE=ON config CP=OFF config CPD=OFF config BOREN=SBODEN config IESO=OFF config FCMEN=OFF end
oeis/339/A339516.asm
neoneye/loda-programs
11
123581
; A339516: a(n+1) = (a(n) - 2*(n-1)) * (2*n-1), where a(1)=1. ; Submitted by <NAME> ; 1,1,-3,-35,-287,-2655,-29315,-381251,-5718975,-97222847,-1847234435,-38791923555,-892214242271,-22305356057375,-602244613549827,-17465093792945795,-541417907581320575,-17866790950183580031,-625337683256425302275,-231374942804877361855...
Homework Submission/Homework 1/1.asm
IftekharPial/CSE331L-Section-10-Fall20-NSU
0
123583
<filename>Homework Submission/Homework 1/1.asm ; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h MOV AX,1 ADD AX,2 ADD AX,3 MOV CX,AX ret
prog.asm
gmcgarry/eeprog
0
123586
<filename>prog.asm ; EEPROM Programmer for AT28Cxx using PIC16F62x ; ; CAT28C256 supports 64-byte page-writes, but too fast ; for serial port; byte-writes need 5ms between writes ; which is too slow for serial port. ; RB4,RB5,RB6,RB7,RA6,RA7,RA0,RA1: DATA ; RB0; /WE ; RB1: RX ; RB2: TX ; RB3: /OE ; RA2: SHIFT CLOCK ; ...
programs/oeis/209/A209297.asm
neoneye/loda
22
123587
; A209297: Triangle read by rows: T(n,k) = k*n + k - n, 1 <= k <= n. ; 1,1,4,1,5,9,1,6,11,16,1,7,13,19,25,1,8,15,22,29,36,1,9,17,25,33,41,49,1,10,19,28,37,46,55,64,1,11,21,31,41,51,61,71,81,1,12,23,34,45,56,67,78,89,100,1,13,25,37,49,61,73,85,97,109,121,1,14,27,40,53,66,79,92,105,118,131,144,1,15,29,43,57,71,85,99,113,...
boot.asm
TralahM/simple-os-kernel
0
123588
;boot.asm:the bootloader to boot our operating system with grub [bits 32] ; we are in 32 bit global start ; start's the OS:we call it in the linker script extern kernel_main ; this is in our .cpp file and is the main function of our kernel ;; Do not modify these lines(these are needed by grub) section .mbHeader align ...
ta21demo/org_fun.asm
hallorant/bitmit
6
123589
<gh_stars>1-10 ; org_fun.asm ; ; zmac org_fun.asm ; trs80gp -dx -c zout/org_fun.1500.cas (do "system" then "o") screen equ $3c00 ; This is how fancy tape loaders (like Big Five) wrote to the screen. org screen dc 64*16,$20 ; clear the entire screen org screen+64*5 ; start of the 6th line on the screen defb ...
programs/oeis/248/A248575.asm
karttu/loda
1
123590
<reponame>karttu/loda ; A248575: Rounded sums of the non-integer cube roots of n, as partitioned by the integer roots: round[sum(j from n^3+1 to (n+1)^3-1, j^(1/3))]. ; 0,10,46,128,272,498,822,1264,1840,2570,3470,4560,5856,7378,9142,11168,13472,16074,18990,22240,25840,29810,34166,38928,44112,49738,55822,62384,69440,770...
dynamorio/suite/tests/common/allasm_aarch64_isa.asm
andre-motta/Project3Compilers
107
123592
/* ********************************************************** * Copyright (c) 2016 ARM Limited. All rights reserved. * **********************************************************/ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_903.asm
ljhsiun2/medusa
9
123593
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1b8ed, %r10 nop nop add %r8, %r8 mov (%r10), %cx nop nop nop nop dec %r15 lea addresses_normal_ht+0xd8ed, %rax clflush (%rax) nop nop nop nop xor %r...
Variables/constant_equates.asm
TinfoilAsteroid/EliteNext
9
123595
<filename>Variables/constant_equates.asm<gh_stars>1-10 ;Contants SignMask8Bit equ %01111111 SignMask16Bit equ %0111111111111111 SignOnly8Bit equ $80 SignOnly16Bit equ $8000 Bit7Only equ %10000000 Bit6Only equ %01000000 Bit5Only equ %00100000 Bit4Only equ %0001...
programs/oeis/030/A030973.asm
neoneye/loda
22
123596
<reponame>neoneye/loda ; A030973: [ exp(1/5)*n! ]. ; 1,2,7,29,146,879,6155,49246,443222,4432226,48754489,585053875,7605700380,106479805323,1597197079850,25555153277608,434437605719351,7819876902948326,148577661156018207,2971553223120364157 add $0,1 mov $2,1 lpb $0 mul $2,$0 sub $0,1 div $1,5 add $1,$2 lpe mov ...
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_init.asm
meesokim/z88dk
0
123598
<filename>libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_init.asm ; void p_forward_list_alt_init(void *p) SECTION code_adt_p_forward_list_alt PUBLIC _p_forward_list_alt_init EXTERN asm_p_forward_list_alt_init _p_forward_list_alt_init: pop af pop hl push hl push af jp a...
Documentation/Code/stripcom.asm
geoffthorpe/ant-architecture
0
123599
<reponame>geoffthorpe/ant-architecture<filename>Documentation/Code/stripcom.asm # stripcom, in ANT. # regs: # r2 input char # r3 $s0 # r4 $s1 # r5 $s2 # r6 $s3 # r7 s0_1 # r8 '/' # r9 '*' lc r3, $s0 lc r4, $s1 lc r5, $s2 lc r6, $s3 lc r7, $s0_1 lc r8, '/' lc r9, '*' # top of input loop, outside of comment s0: ...
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_157.asm
ljhsiun2/medusa
9
123601
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x2123, %r14 nop nop nop and %rcx, %rcx mov (%r14), %bp nop nop nop nop nop cmp $15955, %rbx lea addresses_WT_ht+0xbf93, %rsi lea addresses_UC_ht+0x1ba63, %rdi nop nop nop nop ...
Library/Mailbox/Utils/utilsEC.asm
steakknife/pcgeos
504
123602
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: utilsEC.asm AUTHOR: <NAME>, May 26, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date...
4-Rendering a Sprite/Sprites.asm
petriw/Commodore64Programming
259
123603
processor 6502 org $1000 lda #$80 sta $07f8 lda #$01 sta $d015 lda #$80 sta $d000 sta $d001 loop: jmp loop org $2000 incbin "sprite2.spr"
oeis/241/A241247.asm
neoneye/loda-programs
11
123604
<reponame>neoneye/loda-programs ; A241247: a(n) = Sum_{k=0..n} n^k * binomial(n,k)^3. ; Submitted by <NAME> ; 2,21,352,8065,231876,7951069,314931968,14095941633,701590424500,38358147922501,2281458125531520,146469277526152321,10084388675810865248,740560093656498673965,57738578482070455269376,4760258648137662340202497,41...
oeis/210/A210551.asm
neoneye/loda-programs
11
123605
; A210551: Triangle of coefficients of polynomials v(n,x) jointly generated with A172431; see the Formula section. ; Submitted by <NAME>(s4) ; 1,3,1,5,6,1,7,15,10,1,9,28,35,15,1,11,45,84,70,21,1,13,66,165,210,126,28,1,15,91,286,495,462,210,36,1,17,120,455,1001,1287,924,330,45,1,19,153,680,1820,3003,3003,1716,495,55,1,2...
assembler/tests/t_6804/t_6804.asm
paulscottrobson/RCA-Cosmac-VIP-III
1
123606
<gh_stars>1-10 cpu 6804 include stddef04.inc clra clrx clry coma rola asla inca incx incy deca decx decy tax tay txa tya rts rti nop targ: beq targ bne targ blo targ bcs targ bhs targ bcc targ jmp $123 jsr $456 add (x) add (y) add $30 add #$40 sub ...
0x05-libasm/1-strcmp.asm
gogomillan/holbertonschool-system_linux
0
123607
; NASM code style ; Prototype when used in C: int asm_strcmp(const char *s1, const char *s2) ; s1(argument) -> rdi(register) ; s2(argument) -> rsi(register) bits 64 section .text ; Code section global asm_strcmp ; Exporting the function name asm_strcmp: ; The symbol or function label push rbp ; prologue ...
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48.log_21829_636.asm
ljhsiun2/medusa
9
123608
<filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48.log_21829_636.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1409a, %rsi lea addresses_D_ht+0xe5fa, %rdi nop and %r13, %r13 mov $102, %rcx rep mov...
_build/dispatcher/jmp_ippsSMS4_CCMInit_c35c1fd0.asm
zyktrcn/ippcp
1
123609
extern m7_ippsSMS4_CCMInit:function extern n8_ippsSMS4_CCMInit:function extern y8_ippsSMS4_CCMInit:function extern e9_ippsSMS4_CCMInit:function extern l9_ippsSMS4_CCMInit:function extern n0_ippsSMS4_CCMInit:function extern k0_ippsSMS4_CCMInit:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function s...
oeis/052/A052985.asm
neoneye/loda-programs
11
123610
<filename>oeis/052/A052985.asm ; A052985: Expansion of ( 1-x ) / ( 1-3*x+x^2-x^3+x^4 ). ; Submitted by <NAME> ; 1,2,5,14,38,103,280,761,2068,5620,15273,41506,112797,306538,833050,2263903,6152400,16719809,45437880,123482328,335576513,911965282,2478363781,6735220246,18303685726,49742235431,135179877032 mov $1,1 lpb $0 ...
firmware/coreboot/3rdparty/blobs/cpu/amd/geode_lx/gplvsa_ii/lxvg/main.asm
fabiojna02/OpenCellular
1
123611
;/* ;* Copyright (c) 2007-2008 Advanced Micro Devices,Inc. ("AMD"). ;* ;* This library is free software; you can redistribute it and/or modify ;* it under the terms of the GNU Lesser General Public License as ;* published by the Free Software Foundation; either version 2.1 of the ;* License, or (at your option) a...
nand2tetris/projects/04/mult/mult.asm
nickrechard/introPChardware
0
123613
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) // Pseudocode: // temp...
src/core/os/linux/x64_syscall.asm
Hiroshi123/bin_tools
0
123614
section .text global __os__exit global __os__read global __os__write global __os__open global __os__close global __os__stat global __os__fstat global __os__lstat global __os__lseek global __os__mmap global __os__clone global __os__fork global __os__vfork global __os__execve global __os__exit global _...
oeis/246/A246347.asm
neoneye/loda-programs
11
123616
<filename>oeis/246/A246347.asm ; A246347: Record values in A135141. ; 1,2,4,8,9,17,19,35,39,71,79,143,159,287,319,575,639,1151,1279,2303,2559,4607,5119,9215,10239,18431,20479,36863,40959,73727,81919,147455,163839,294911,327679,589823,655359,1179647,1310719,2359295,2621439,4718591,5242879,9437183,10485759,18874367,20971...
dv3/atari/achp0.asm
olifink/smsqe
0
123617
; General heap allocatiion v0.01  Apr 1988 J.R.Oakley QJUMP section gen_util include 'dev8_keys_qdos_sms' xdef gu_achp0 xdef gu_achpj xdef gu_achpp ;+++ ; Allocate heap permanently, preserving register contents. ; ; Registers: ; Entry Exit ; D0 space required error code ; A0 space allocated ;...
programs/oeis/069/A069637.asm
neoneye/loda
22
123618
; A069637: Number of prime powers <= n with exponents > 1. ; 0,0,0,1,1,1,1,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,5,5,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10 lpb $0 mov $2,$0 sub $0,1 seq $2...
kernel/kernel.asm
JoeyFrancisTribbiani/min-kernel-riscv
0
123619
kernel/kernel: file format elf64-littleriscv Disassembly of section .text: 0000000080000000 <_entry>: 80000000: 00001117 auipc sp,0x1 80000004: 15010113 addi sp,sp,336 # 80001150 <stack0> 80000008: 6505 lui a0,0x1 8000000a: f14025f3 csrr a1,mhartid ...
Script/2.asm
santo6774/CSE331L_Section_7_Summer20_NSU_Final
0
123620
.MODEL SMALL .STACK 100H .DATA PROMPT_1 DB 'Enter the hexadecimal number : $' PROMPT_2 DB 0DH,0AH,'The binary number is : $' ILLEGAL DB 0DH,0AH,'Illegal hex number. Try again : $' COUNT DB ? .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA D...
programs/oeis/071/A071542.asm
jmorken/loda
1
123621
<reponame>jmorken/loda ; A071542: Number of steps to reach 0 starting with n and using the iterated process : x -> x - (number of 1's in binary representation of x). ; 0,1,2,2,3,3,4,4,5,5,6,6,7,7,7,7,8,8,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,2...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_389.asm
ljhsiun2/medusa
9
123622
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0xb3b7, %r10 dec %r15 movl $0x61626364, (%r10) nop dec %r15 lea addresses_D_ht+0x1ed47, %rsi lea addresses_D_ht+0x5487, %rdi nop nop nop nop nop xor $57863, %rax ...
programs/oeis/138/A138403.asm
neoneye/loda
22
123623
<reponame>neoneye/loda ; A138403: a(n) = p^3*(p-1), where p = prime(n). ; 8,54,500,2058,13310,26364,78608,123462,267674,682892,893730,1823508,2756840,3339294,4775858,7741604,11911982,13618860,19850358,25053770,28009224,38457042,46886534,62037272,87616608,103030100,111458154,129854558,139863132,161604464,258096258,29225...
engine/events/celebi.asm
Dev727/ancientplatinum
28
123626
<filename>engine/events/celebi.asm SPECIALCELEBIEVENT_CELEBI EQU $84 CelebiShrineEvent: call DelayFrame ld a, [wVramState] push af xor a ld [wVramState], a call LoadCelebiGFX depixel 0, 10, 7, 0 ld a, SPRITE_ANIM_INDEX_CELEBI call _InitSpriteAnimStruct ld hl, SPRITEANIMSTRUCT_TILE_ID add hl, bc ld [hl], SP...
tickbyte_prj_template.asm
leonardofquirm/tickbyte
0
123628
;****************************************************************************** ; tickbyte project template ; ; Place your highest priority code (most time critical) in TASK3, medium ; priority in TASK2 and lowest priority in TASK1 ;****************************************************************************** ...
programs/oeis/102/A102845.asm
neoneye/loda
22
123629
<filename>programs/oeis/102/A102845.asm ; A102845: Number of prime factors of the sum of the first n odd primes. ; 1,3,2,2,2,4,3,3,1,2,3,3,3,2,1,3,1,2,3,3,2,4,2,3,2,2,2,2,2,2,2,3,4,3,3,2,4,7,2,8,3,5,2,4,4,3,2,3,4,4,2,4,1,9,1,4,3,6,2,6,1,6,2,5,1,4,2,5,3,3,1,4,3,5,1,6,2,3,2,4,3,4,3,2,2,5,2,7,2,4,2,8,3,4,1,2,4,4,2,5 seq ...
oeis/127/A127984.asm
neoneye/loda-programs
11
123630
; A127984: a(n) = (n/3 + 7/9)*2^(n - 1) + (-1)^n/9. ; Submitted by <NAME> ; 1,3,7,17,39,89,199,441,967,2105,4551,9785,20935,44601,94663,200249,422343,888377,1864135,3903033,8155591,17010233,35418567,73633337,152859079,316902969,656175559,1357090361,2803659207,5786275385,11930464711,24576757305,50585170375,104033652281,...
exe/zero.asm
DigitalMars/optlink
28
123631
TITLE ZERO - Copyright (c) SLR Systems 1994 INCLUDE MACROS PUBLIC FINAL_HIGH_PARA,ZERO_EAX_FINAL_HIGH_WATER,ZERO_EAX_EDX_FINAL .DATA EXTERNDEF TEMP_RECORD:BYTE,EXEPACK_STRUCTURE:BYTE EXTERNDEF FINAL_HIGH_WATER:DWORD,ZERO_BYTES:DWORD .CODE PASS2_TEXT EXTERNDEF MOVE_EAX_TO_EDX_FINAL:PROC,STORE_E...
Proto/YM3812.asm
Lord-Nazdar/YM3812-Ultimate
2
123632
<reponame>Lord-Nazdar/YM3812-Ultimate<gh_stars>1-10 _main: ;YM3812.c,43 :: void main() { ;YM3812.c,51 :: ANSEL = ANSELH = 0; CLRF ANSELH+0 CLRF ANSEL+0 ;YM3812.c,53 :: YM3812_Init(); CALL _YM3812_Init+0 ;YM3812.c,55 :: delay_ms(10); MOVLW 26 MOVWF R12+0 MOVLW 248 MOVWF ...
programs/oeis/188/A188215.asm
neoneye/loda
22
123633
; A188215: Starting with an empty list, n is inserted after the a(n)th element such that the binary representations of the list's elements are always sorted lexicographically. ; 0,1,2,3,3,4,6,7,4,5,7,8,11,12,14,15,5,6,8,9,12,13,15,16,20,21,23,24,27,28,30,31,6,7,9,10,13,14,16,17,21,22,24,25,28,29,31,32,37,38,40,41,44,45...
libsrc/games/zx81snd/bit_open_di.asm
grancier/z180
0
123634
; $Id: bit_open_di.asm,v 1.4 2016/06/16 20:23:52 dom Exp $ ; ; ZX81 1 bit sound functions ; ; Open sound and disable interrupts for exact timing ; ; <NAME> - 11/11/2011 ; SECTION code_clib PUBLIC bit_open_di PUBLIC _bit_open_di EXTERN __snd_tick .bit_open_di ._bit_open_di ld a,...
src/6509/screen.asm
TheStingray8088/cbm2-pc-emulator
0
123635
<gh_stars>0 CPU_ACCESS_BANK = $1 ;-------------------------------------------------------------------- ; Zero page variables ;-------------------------------------------------------------------- src_addr = $50 page_count = $52 tmp_byte = $53 CursorType = $D4 jmp_vector = $03FC ;-----------------------------------...
programs/oeis/004/A004974.asm
neoneye/loda
22
123636
<reponame>neoneye/loda ; A004974: a(n) = ceiling(n*phi^19), where phi is the golden ratio, A001622. ; 0,9350,18699,28048,37397,46746,56095,65444,74793,84142,93491,102840,112189,121538,130887,140236,149585,158934,168283,177632,186981,196330,205679,215028,224377,233726 mov $1,$0 trn $1,1 mov $2,$0 sub $0,$1 lpb $2 add...
testbed/IOSR.asm
findhamza/Compilers
0
123637
;IO1NasmLinux32.asm ; ;assemble: nasm -f elf -l IO1Nasm32Linux.lst IO1Nasm32Linux.asm ;link: gcc -o IO1Nasm32Linux IO1Nasm32Linux.o ;run: ,/IO1Nasm32Linux ; ;For 64 bit Linux ;nasm -felf64 IO1Nasm32Linux.asm && ld IO1Nasm32Linux.o && ./a.out ; ;for debugging with gdb or DDD ...
Appl/BigCalc/bigcalcFixedArgsPCF.asm
steakknife/pcgeos
504
123638
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bigcalcFixedArgsPCF.asm AUTHOR: <NAME>, May 6, 1992 ROUTINES: Name Description ---- ----------- INT FixedAr...
main.asm
Arsenal591/X86Assembler
1
123639
.386 .MODEL flat, stdcall include operand.inc include functions.inc include parser_varible.inc include tokenizer.inc include Irvine32.inc includelib Irvine32.lib .data cmd_tail BYTE 129 DUP(0) .code main proc mov edx, OFFSET cmd_tail call GetCommandTail mov ecx, 129 loop_cmd_tail: mov bl, [edx] .IF bl == 0 re...
libsrc/_DEVELOPMENT/adt/w_array/z80/asm_w_array_at.asm
meesokim/z88dk
0
123640
; =============================================================== ; Mar 2014 ; =============================================================== ; ; void *w_array_at(w_array_t *a, size_t idx) ; ; Return word stored in array at index idx. ; If idx is outside the array's range, return -1. ; ; ============================...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_3885_497.asm
ljhsiun2/medusa
9
123641
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xc18d, %r8 nop nop nop xor %r10, %r10 mov $0x6162636465666768, %rax movq %rax, (%r8) nop cmp %rdi, %rdi lea addresses_WT_ht+0x9ac3, %rdx nop nop add %r14, %r14 movl $0x6162636...
src/include/defines.asm
CasualPokePlayer/flowtimer.gbc
0
123643
; First, let's include libraries INCLUDE "hardware.inc/hardware.inc" rev_Check_hardware_inc 3.0 ;INCLUDE "rgbds-structs/structs.asm" ; A couple more hardware defines NB_SPRITES equ 40 ; I generally discourage the use of pseudo-instructions for a variety of reasons, ; but this one includes a label,...
P6/P6Judger - 100 testpoints/testpoint/testpoint79.asm
flyinglandlord/BUAA-CO-2021
5
123648
ori $1, $0, 2 ori $2, $0, 10 ori $3, $0, 2 ori $4, $0, 9 sw $1, 0($0) sw $1, 4($0) sw $1, 8($0) sw $4, 12($0) sw $1, 16($0) sw $1, 20($0) sw $2, 24($0) sw $3, 28($0) sw $3, 32($0) sw $4, 36($0) sw $2, 40($0) sw $2, 44($0) sw $3, 48($0) sw $4, 52($0) sw $3, 56($0) sw $4, 60($0) sw $4, 64($0) sw $1, 68($0) sw $3, 72($0) ...
programs/oeis/040/A040305.asm
neoneye/loda
22
123649
<reponame>neoneye/loda ; A040305: Continued fraction for sqrt(323). ; 17,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34 mov $1,$0 cmp $0,0 sub $1,$0 gcd $1,2 add $1,15 add $0,$1 mul...
UFAL/OAC/Lista 1/Q5.asm
NelsonGomesNeto/ProgramC
3
123650
<reponame>NelsonGomesNeto/ProgramC .data a: .word 117 b: .word 343 .text # Main lw $s0, a # a = s0 = ... lw $s1, b # b = s1 = ... add $a0, $zero, $s0 # a0 = a add $a1, $zero, $s1 # a1 = b jal prepAbs # call prepAbs (a0, a1 = abs(a0), abs(a1)) jal multiply # call multiply add $s2, $zero, $v0 ...
oeis/005/A005565.asm
neoneye/loda-programs
11
123651
; A005565: Number of walks on square lattice. ; 20,75,189,392,720,1215,1925,2904,4212,5915,8085,10800,14144,18207,23085,28880,35700,43659,52877,63480,75600,89375,104949,122472,142100,163995,188325,215264,244992,277695,313565,352800,395604,442187,492765,547560,606800,670719,739557,813560,892980,978075,1069109,1166352,12...
src/remove_preload.asm
CrackerCat/Father
62
123652
<reponame>CrackerCat/Father<filename>src/remove_preload.asm global _start section .data: fname db "/etc/ld.so.preload", 0 section .text: _start: mov eax, 10 mov ebx, fname int 0x80 mov ebx, eax mov eax, 1 int 0x80