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 |
|---|---|---|---|---|
oeis/223/A223211.asm | neoneye/loda-programs | 11 | 128816 | <reponame>neoneye/loda-programs<filename>oeis/223/A223211.asm
; A223211: 3 X 3 X 3 triangular graph coloring a rectangular array: number of n X 1 0..5 arrays where 0..5 label nodes of a graph with edges 0,1 0,2 1,2 1,3 1,4 2,4 3,4 2,5 4,5 and every array movement to a horizontal or vertical neighbor moves along an edge... |
examples/asm/pwm_generator.asm | tchamelot/prusst | 24 | 128817 | <reponame>tchamelot/prusst
; 8-bit PWM periodic signal generation on P9_29 (pru0_pru_r30_1).
;
; The code is designed to take exactly 10 PRU cycles per PWM subsample
; independently of the program flow. Since each PWM cycle is divided into 255
; subsamples and the PRU is clocked at 200MHz, the PWM frequency is
; approx... |
libsrc/stdio/conio/console_coords.asm | jpoikela/z88dk | 38 | 128818 |
MODULE console_coords
SECTION bss_clib
PUBLIC __console_x
PUBLIC __console_y
PUBLIC __console_w
PUBLIC __console_h
EXTERN CONSOLE_COLUMNS
EXTERN CONSOLE_ROWS
__console_x: defb 0
__console_y: defb 0
SECTION data_clib
__console_w: defb CONSOLE_COLUMNS
__console_h: defb CONSOLE_ROWS
|
programs/oeis/091/A091001.asm | jmorken/loda | 1 | 128819 | <gh_stars>1-10
; A091001: Number of walks of length n between adjacent nodes on the Petersen graph.
; 0,1,0,5,4,33,56,253,588,2105,5632,18261,52052,161617,473928,1443629,4287196,12948969,38672144,116365957,348398820,1046594561,3136987480,9416554845,28238479724,84737808793,254168687136,762595539893,2287607662708,6863180... |
battlesnakes.asm | darkvoxels/battlesnakes | 2 | 128820 | ;Lets NASM Know our origin address so that it can calculate the correct offsets
[ORG 0x7c00]
;SETUP STACK
mov ax, 0x9000
mov ss, ax
mov ax, 0xFFFF
mov sp, ax
;Specify a new Interrupt Service Routine for Keyboard in the Interrupt Vector Table,
;REF
;https://en.wikipedia.org/wiki/Interrupt_descriptor_table
;http://... |
coverage/IN_CTS/0458-COVERAGE-brw-fs-copy-propagation-528/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 128821 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 101
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %82
OpExecutionMode %4 OriginU... |
programs/oeis/313/A313781.asm | neoneye/loda | 22 | 128822 | ; A313781: Coordination sequence Gal.6.617.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,15,21,26,31,36,41,47,52,57,62,67,72,77,83,88,93,98,103,109,114,119,124,129,134,139,145,150,155,160,165,171,176,181,186,191,196,201,20... |
text/maps/celadon_hotel.asm | adhi-thirumala/EvoYellow | 9 | 128823 | <filename>text/maps/celadon_hotel.asm
_CeladonHotelText1::
text "#MON? No, this"
line "is a hotel for"
cont "people."
para "We're full up."
done
_CeladonHotelText2::
text "I'm on vacation"
line "with my brother"
cont "and boy friend."
para "CELADON is such a"
line "pretty city!"
done
_CeladonHotelText3::... |
src/find.asm | jcgter777/cesium | 1 | 128824 | ; routines for building lists of available programs and applications
find_files:
call find_lists
ld hl,(item_locations_ptr)
ld de,item_location_base
or a,a
sbc hl,de
srl h
rr l
srl h
rr l
ld (number_of_items),hl ; divide by 4 to compute number of stored items
ld hl,return_info
ld a,(hl)
ld (hl),0
cp a,r... |
libsrc/_DEVELOPMENT/ctype/c/sdcc_iy/isalnum.asm | meesokim/z88dk | 0 | 128825 | <reponame>meesokim/z88dk
; int isalnum(int c)
SECTION code_ctype
PUBLIC _isalnum
EXTERN _isalnum_fastcall
_isalnum:
pop af
pop hl
push hl
push af
jp _isalnum_fastcall
|
oeis/001/A001296.asm | neoneye/loda-programs | 11 | 128826 | <gh_stars>10-100
; A001296: 4-dimensional pyramidal numbers: a(n) = (3*n+1)*binomial(n+2, 3)/4. Also Stirling2(n+2, n).
; 0,1,7,25,65,140,266,462,750,1155,1705,2431,3367,4550,6020,7820,9996,12597,15675,19285,23485,28336,33902,40250,47450,55575,64701,74907,86275,98890,112840,128216,145112,163625,183855,205905,229881,255... |
src/asm-kernels.asm | travisdowns/fastscancount | 1 | 128827 | ; nasm assmebly rountines for the core of the scancount methods
BITS 64
; must be equal to the unroll value in fastscancount_avx2b.h
%define UNROLL 16
; keep in sync with aux_chunk in fastscancount_avx2b.h
struc aux_chunk
.start_ptr: resb 8
.iter_count: resb 4
.overshoot: resb 4 ; not used
... |
lib/sse/aes_cfb_sse.asm | dongbinghua/intel-ipsec-mb | 174 | 128829 | ;;
;; Copyright (c) 2017-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
oeis/243/A243014.asm | neoneye/loda-programs | 11 | 128830 | ; A243014: Number of acyclic digraphs (DAGS) on n labeled nodes, where the indegree and outdegree of each node is at most 1.
; 1,1,3,13,61,321,1951,13693,109593,986401,9864091,108505101,1302061333,16926797473,236975164791,3554627472061,56874039553201,966858672404673,17403456103284403,330665665962403981,6613313319248079... |
Tests/Timing/ScanlineReadingAndInterrupt/Main.asm | MrKWatkins/ZXSpectrumNextTests | 23 | 128831 | device zxspectrum48
org $E000
INCLUDE "../../Constants.asm"
INCLUDE "../../Macros.asm"
INCLUDE "../../TestFunctions.asm"
INCLUDE "../../OutputFunctions.asm"
DEFINE _CONTROLS_DEBOUNCE_REGULAR 2
INCLUDE "../../controls.i.asm"
OPT --zxnext ; enable Z80N instructions, th... |
programs/oeis/028/A028741.asm | karttu/loda | 0 | 128832 | <reponame>karttu/loda<filename>programs/oeis/028/A028741.asm
; A028741: Nonsquares mod 28.
; 2,3,5,6,7,10,11,12,13,14,15,17,18,19,20,22,23,24,26,27
mov $4,$0
mov $7,$0
mul $0,2
mul $0,$7
lpb $0,1
add $2,1
add $1,$2
sub $1,2
mul $1,2
mul $3,2
add $3,1
add $6,4
sub $6,$3
trn $6,8
add $6,3
add $1,$6... |
src/platforms/amd64/linux/exit.asm | PhosphorLang/StandardLibrary | 0 | 128836 | <reponame>PhosphorLang/StandardLibrary
[section .text]
[section .text.exit,"ax",@progbits]
[global exit]
exit:
mov rdi, 0 ; Exit code
mov rax, 60 ; Syscall ID for exit
syscall
|
programs/oeis/071/A071523.asm | jmorken/loda | 1 | 128837 | <reponame>jmorken/loda<filename>programs/oeis/071/A071523.asm
; A071523: Number of 11-smooth numbers <= n.
; 1,2,3,4,5,6,7,8,9,10,11,12,12,13,14,15,15,16,16,17,18,19,19,20,21,21,22,23,23,24,24,25,26,26,27,28,28,28,28,29,29,30,30,31,32,32,32,33,34,35,35,35,35,36,37,38,38,38,38,39,39,39,40,41,41,42,42,42,42,43,43,44
mov... |
externals/mpir-3.0.0/mpn/x86_64/core2/popcount.asm | JaminChan/eos_win | 1 | 128838 | <filename>externals/mpir-3.0.0/mpn/x86_64/core2/popcount.asm<gh_stars>1-10
dnl mpn_popcount
dnl Copyright 2010 The <NAME>
dnl This file is part of the MPIR Library.
dnl The MPIR Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as pub... |
sdcc/stc15_exec/soundgen.asm | y0umu/MCS-51-sound-generator-music-box- | 0 | 128839 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.6.0 #9615 (MINGW64)
;--------------------------------------------------------
.module main
.optsdcc -mmcs51 --model-small
;--------------------------------------------------------
; Public... |
a08/macro.asm | Sahilsinggh/MP_SEM4 | 1 | 128840 | <gh_stars>1-10
%macro print 2
mov rax,01;
mov rdi,01;
mov rsi,%1;
mov rdx,%2;
syscall;
%endmacro
%macro read 2
mov rax,00;
mov rdi,00;
mov rsi,%1;
mov rdx,%2;
syscall;
%endmacro
%macro fopen 2
mov rax,02; //SYS_OPEN
mov rdi,%1; //file-name
mov rsi,%2; /... |
src/drivers.asm | moneytech/BareMetal-kernel | 289 | 128841 | ; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2020 Return Infinity -- see LICENSE.TXT
;
; Driver Includes
; =============================================================================
; Internal
... |
oeis/028/A028007.asm | neoneye/loda-programs | 11 | 128842 | ; A028007: Expansion of 1/((1-2x)(1-7x)(1-8x)(1-11x)).
; Submitted by <NAME>
; 1,28,511,7722,105105,1340976,16393987,194632774,2263422469,25933837644,293957202903,3305777399106,36960914527993,411484609521832,4566596614746859,50561336628369918,558851419944076077,6169105038360422340,68036350552806299455,74982537558086183... |
tests/daid/stop_instr_gbc_mode3.asm | OFFTKP/GameboyTKP | 0 | 128843 | INCLUDE "common.inc"
SECTION "wram", WRAM0
wGBC: ds 1
SECTION "main", ROM0[$150]
stopTestStr:
db "STOP in mode3:", 0
stopTestStrOk:
db "LCD on: PASS", 0
stopTestNotStoppingStr:
db "STOP not stopping...", 0
start:
ld [wGBC], a
call disableLCD
call initFont
ld hl, $9900
ld de, stopTestStr
call ... |
code/display/text.asm | abekermsx/skooted | 3 | 128845 |
initialize_text_gui:
call jiffy_wait
call DISSCR
call CLRSPR
ld hl,6144
ld bc,32 * 24
ld a,' '
call FILVRM
ld hl,text_info_type
ld de,6144 + 32 - 28
ld bc,28
CALL LDIRVM
ld hl,(sheet_pointer)
ld bc,SHEET.TEXT
... |
hooks.asm | Bonta0/z3randomizer | 1 | 128846 | <filename>hooks.asm
;================================================================================
; Init Hook
;--------------------------------------------------------------------------------
org $00802F ; <- 2F - Bank00.asm : 45
JSL.l Init_Primary
NOP
org $0CC1AC ; <- 63 D4 00 - Bank0C.asm:8 (dl Tagalong_LoadGfx)
... |
programs/oeis/123/A123640.asm | karttu/loda | 0 | 128847 | <filename>programs/oeis/123/A123640.asm
; A123640: Consider the 2^n compositions of n per row and mark only those ending in an odd part.
; 0,1,0,1,1,0,1,1,0,1,0,0,1,1,1,1,1,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0
lpb $0,1... |
oeis/231/A231667.asm | neoneye/loda-programs | 11 | 128848 | <reponame>neoneye/loda-programs<filename>oeis/231/A231667.asm
; A231667: a(n) = Sum_{i=0..n} digsum_4(i)^4, where digsum_4(i) = A053737(i).
; 0,1,17,98,99,115,196,452,468,549,805,1430,1511,1767,2392,3688,3689,3705,3786,4042,4058,4139,4395,5020,5101,5357,5982,7278,7534,8159,9455,11856,11872,11953,12209,12834,12915,13171... |
audio/sfx/cry0d_2.asm | AmateurPanda92/pokemon-rby-dx | 9 | 128849 | <gh_stars>1-10
SFX_Cry0D_2_Ch4:
dutycycle 136
squarenote 5, 15, 2, 1616
squarenote 9, 13, 1, 1632
squarenote 5, 14, 2, 1554
squarenote 9, 12, 1, 1570
squarenote 5, 15, 2, 1552
squarenote 6, 13, 1, 1568
loopchannel 2, SFX_Cry0D_2_Ch4
endchannel
SFX_Cry0D_2_Ch5:
dutycycle 64
squarenote 4, 0, 8, 0
squarenote... |
programs/oeis/242/A242774.asm | neoneye/loda | 22 | 128850 | <filename>programs/oeis/242/A242774.asm
; A242774: a(n) = ceiling( n / 2 ) + ceiling( n / 3 ).
; 2,2,3,4,5,5,7,7,8,9,10,10,12,12,13,14,15,15,17,17,18,19,20,20,22,22,23,24,25,25,27,27,28,29,30,30,32,32,33,34,35,35,37,37,38,39,40,40,42,42,43,44,45,45,47,47,48,49,50,50,52,52,53,54,55,55,57,57,58,59,60,60,62,62,63,64,65,65... |
target/analysis/Func00402850.asm | katahiromz/DecodersTatami | 3 | 128852 | <filename>target/analysis/Func00402850.asm
proc Func00402850 Label_00402850
attrs [[cdecl]]
# call_from : 00401C20 00401C80 00401DD0
# jump_to : 0040285D 00402872
Label_00402850:
00402850: 51 : push ecx
00402851: 50 : push eax
00402852: 3D 00 10 00 0... |
src/sysexfinish.asm | staskevich/MIDICPU | 14 | 128853 | ; MIDI CPU
; copyright <NAME>, 2017
; <EMAIL>
;
; This work is licensed under a Creative Commons Attribution 4.0 International License.
; http://creativecommons.org/licenses/by/4.0/
;
; sysexfinish.asm
;
; Parse incoming sysex messages.
;
list p=16f887
#include <p16f887.inc>
#include <mc.inc>
... |
Assembly/WinAPI.asm | nguyenphuminh/HelloWorld | 48 | 128854 | <filename>Assembly/WinAPI.asm
section .data
msg db "Hello World"
len equ $ - msg
handle db 0
written db 0
section .text
global start
extern _GetStdHandle@4
extern _ExitProcess@4
extern _WriteConsoleA@20
start:
push dword -11
call _GetStdHandle@4
mov [handle], eax
push dword 0
... |
sources/bootloader.asm | BridgeTrollPW/opOSsum | 0 | 128855 | ; nasm -felf32 source.asm -o object.o
; Declare constants for the multiboot header.
MBALIGN equ 1 << 0 ; align loaded modules on page boundaries
MEMINFO equ 1 << 1 ; provide memory map
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
MAGIC equ 0x1BADB002 ; 'magic... |
oeis/021/A021944.asm | neoneye/loda-programs | 11 | 128856 | ; A021944: Expansion of 1/((1-x)*(1-4*x)*(1-8*x)*(1-12*x)).
; Submitted by <NAME>(s3)
; 1,25,425,6185,83241,1072425,13462825,166325545,2034167081,24716438825,299050134825,3608230161705,43455812660521,522726247165225,6282767285808425,75473627419962665,906326894688267561,10881069684355427625,130614011888660835625,1567697... |
examples/stack_params/example.asm | MijnOS/MijnOS | 0 | 128857 | <gh_stars>0
[BITS 32]
;===========
; Required by Microsoft's linker.
;===========
SECTION .text align=16
global _functieASM
;===========
; int functieASM(int x, int y)
;===========
_functieASM:
push ebp ; Preserve the stack pointer of the caller
mov ebp,esp ... |
cs264/project1/part1.asm | taylorthurlow/school-code | 0 | 128859 | <filename>cs264/project1/part1.asm
# <NAME>
# CS 264 Spring 2017
# Cal Poly Pomona
# 4/21/2017
# Lab 1
.text
.globl main
main:
li $s0, 0 # start for loop iterator at 0
# the loop which grabs integer values from the console and
# stores them into the array
prompt_loop:
li $v0, 4 # syscall 4 is print string
l... |
src/cm_mainmenu_linkstate.asm | tewtal/lttphack | 0 | 128861 | <gh_stars>0
; LINK STATE {{{
cm_main_goto_link_state:
%cm_submenu("Link state", cm_submenu_link_state)
cm_submenu_link_state:
dw cm_link_state_armed_waterwalk
dw cm_link_state_activate_superbunny
dw cm_link_state_activate_lonk
dw cm_link_state_finish_mirrordoor
dw cm_link_state_statue_drag
dw cm_link_state_arme... |
ucle/core/tests/fnsim/frisc/test_dma.asm | mcavrag/UCLE-ide | 0 | 128862 | <filename>ucle/core/tests/fnsim/frisc/test_dma.asm
DMA_SRC EQU 10000
DMA_DST EQU 10004
DMA_CNT EQU 10008
DMA_CR EQU 1000C
DMA_START EQU 10010
DMA_BS EQU 10014
ORG 0
MOVE 1000, SP
JP MAIN
ORG 8
INT_VEC D... |
proc.asm | maritzae/8086 | 0 | 128863 | <filename>proc.asm
code segment
init:
mov ax,data
mov ds,ax
mov si,offset arr
mov di,offset result
mov cl,length
mov bx,result
call decimal
hlt
decimal proc
loopbody:
mov ah,0d
mov al,[si]
push ax
cmp ax,base
jge endla... |
programs/oeis/235/A235367.asm | neoneye/loda | 22 | 128864 | <filename>programs/oeis/235/A235367.asm
; A235367: Sum of positive even numbers up to n^2.
; 0,6,20,72,156,342,600,1056,1640,2550,3660,5256,7140,9702,12656,16512,20880,26406,32580,40200,48620,58806,69960,83232,97656,114582,132860,154056,176820,202950,230880,262656,296480,334662,375156,420552,468540,522006,578360,640800... |
Transynther/x86/_processed/NONE/_ht_/i9-9900K_12_0xa0_notsx.log_3_1253.asm | ljhsiun2/medusa | 9 | 128867 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9a1d, %rsi
nop
nop
nop
add $5960, %r15
movb (%rsi), %bl
nop
nop
sub %r14, %r14
lea addresses_D_ht+0x98dd, %r11
nop
xor $20551, %rdi
vmovups (%r11), %ymm5
vextracti128 $1, %ym... |
titles.asm | ncot-tech/z80-zombies | 4 | 128868 | <gh_stars>1-10
showTitles:
ld de,titleTxt
call print
; wait until the user lets go of the stick/buttons
wait_stickup:
in a,($1)
cp 0
jp nz ,wait_stickup
; now accept input
wait_input:
in a,($1)
and $10 ; should have 16 in a
cp $10 ; do we have 16 in a?
jp nz,wait... |
asm/e820.asm | lavenderos/lvk | 0 | 128872 | extern real_routine
global get_e820
%define kernel_phys_offset 0xffffffffc0000000
section .data
%define e820_size e820_end - e820_bin
e820_bin: incbin "real/e820.bin"
e820_end:
section .text
bits 64
get_e820:
; void get_e820(e820_entry_t *e820_map);
push rbx
push rbp
p... |
sw/552tests/inst_tests/rol_1.asm | JPShen-UWM/ThreadKraken | 1 | 128873 | <filename>sw/552tests/inst_tests/rol_1.asm
// Original test: ./sadashiv/hw4/problem6/rol_2.asm
// Author: sadashiv
// Test source code follows
// Test for "ROL Rd, Rs, Rt" {Rd <- Rs << (rotate) Rt (lowest 4 bits)}//
// This test check for all possible cases of rotate left from 0 -15 //
lbi r1,0xA1
slbi r1, 0x97 // ... |
src/disable_edge_scrolling.asm | mvdhout1992/ts-patches | 33 | 128874 | <filename>src/disable_edge_scrolling.asm
%include "TiberianSun.inc"
%include "macros/patch.inc"
%include "macros/datatypes.inc"
gbool DisableEdgeScrolling, false ; Read from sun.ini in sun.ini.c
;;; Disable Edge scrolling
hack 0x005E9058, 0x005E905E
mov al, [DisableEdgeScrolling]
test al, a... |
MSDOS/Virus.MSDOS.Unknown.goldbug.asm | fengjixuchui/Family | 3 | 128875 | cseg segment para public 'code'
gold_bug proc near
assume cs:cseg
;-----------------------------------------------------------------------------
;designed by "Q" the misanthrope.
;-----------------------------------------------------------------------------
.186
TRUE equ... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/div32.asm | gb-archive/really-old-stuff | 10 | 128877 | #include once <neg32.asm>
; ---------------------------------------------------------
__DIVU32: ; 32 bit unsigned division
; DEHL = Dividend, Stack Top = Divisor
; OPERANDS P = Dividend, Q = Divisor => OPERATION => P / Q
;
; Changes A, BC DE HL B'C' D'E' H'L'
; ------------... |
programs/oeis/183/A183569.asm | karttu/loda | 0 | 128878 | ; A183569: n+floor(sqrt(4n-3)), complement of A024206.
; 2,4,6,7,9,10,12,13,14,16,17,18,20,21,22,23,25,26,27,28,30,31,32,33,34,36,37,38,39,40,42,43,44,45,46,47,49,50,51,52,53,54,56,57,58,59,60,61,62,64,65,66,67,68,69,70,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,1... |
source/100hz-example.asm | kieranhj/intro-to-interrupts | 5 | 128879 | <reponame>kieranhj/intro-to-interrupts
\ ******************************************************************
\ * 100Hz Interrupt example.
\ * Using the User VIA so this can run alongside the MOS.
\ ******************************************************************
IRQ1V = &204
IRQ2V = &206
\ **************************... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1525.asm | ljhsiun2/medusa | 9 | 128880 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1d6aa, %rax
sub %rdi, %rdi
mov $0x6162636465666768, %r15
movq %r15, %xmm7
movups %xmm7, (%rax)
nop
nop
nop
nop
and $19257, %rsi
lea addresses_UC_ht+0x19551, %rbp
sub %rdx, %r... |
dist_l2_funcs_exp_64.asm | buckaroo-pm/fastann | 17 | 128881 | ;-------------------------------------------------------------------;
; Experimental distance functions in pure assembly. ;
;-------------------------------------------------------------------;
;-------------------------------------------------------------------;
; Notes to self: we _can_ trash eax, ec... |
programs/oeis/134/A134393.asm | neoneye/loda | 22 | 128882 | <reponame>neoneye/loda
; A134393: Row sums of triangle A134392.
; 1,3,8,20,45,91,168,288,465,715,1056,1508,2093,2835,3760,4896,6273,7923,9880,12180,14861,17963,21528,25600,30225,35451,41328,47908,55245,63395,72416,82368,93313,105315,118440,132756,148333,165243,183560,203360,224721,247723,272448,298980,327405,357811,390... |
stressfs.asm | hebertmorais/xv6-lottery-scheduler | 0 | 128883 |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... |
asm/mandelbrot.asm | stfnwong/z8t | 0 | 128884 | ;
; Compute a Mandelbrot set on a simple Z80 computer.
;
; Porting this program to another Z80 platform should be easy and straight-
; forward: The only dependencies on my homebrew machine are the system-calls
; used to print strings and characters. These calls are performed by loading
; IX with the number of the sys... |
lib/target/lynx/classic/lynx_crt0.asm | Frodevan/z88dk | 38 | 128885 | ; CRT0 stub for the Camputers Lynx
;
; <NAME> - 2014
;
; $Id: lynx_crt0.asm,v 1.11 2016-07-15 21:03:25 dom Exp $
;
MODULE lynx_crt0
;
; Initially include the zcc_opt.def file to find out lots of lovely
; information about what we should do..
;
defc crt0 = 1
I... |
audio/music/credits.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 128887 | <reponame>etdv-thevoid/pokemon-rgb-enhanced
Music_Credits_Ch0::
tempo 140
volume 7, 7
duty 3
vibrato 8, 3, 4
toggleperfectpitch
notetype 12, 11, 5
octave 4
E_ 6
octave 3
A_ 1
octave 4
E_ 1
D_ 6
octave 3
G_ 1
octave 4
D_ 1
C# 6
octave 3
F# 1
octave 4
C# 1
D_ 4
E_ 2
C# 1
E_ 1
C# 1
rest 1
octa... |
programs/oeis/248/A248038.asm | jmorken/loda | 1 | 128888 | ; A248038: 3n concatenated with itself.
; 33,66,99,1212,1515,1818,2121,2424,2727,3030,3333,3636,3939,4242,4545,4848,5151,5454,5757,6060,6363,6666,6969,7272,7575,7878,8181,8484,8787,9090,9393,9696,9999,102102,105105,108108,111111,114114,117117,120120,123123
mov $5,$0
add $0,1
mul $0,3
mov $2,$0
sub $4,$0
lpb $4
mul $... |
programs/oeis/061/A061654.asm | neoneye/loda | 22 | 128889 | ; A061654: a(n) = (3*16^n + 2)/5.
; 1,10,154,2458,39322,629146,10066330,161061274,2576980378,41231686042,659706976666,10555311626650,168884986026394,2702159776422298,43234556422756762,691752902764108186,11068046444225730970,177088743107611695514,2833419889721787128218,45334718235548594051482,725355491768777504823706,11... |
oeis/142/A142931.asm | neoneye/loda-programs | 11 | 128890 | ; A142931: Primes congruent to 13 mod 64.
; Submitted by <NAME>
; 13,269,397,461,653,1229,1549,1613,1741,1933,1997,2381,2957,3469,3533,3853,3917,4493,4621,4813,4877,5197,5261,5581,6029,6221,6733,7309,7757,7949,8269,8461,9293,9421,9613,9677,10061,10253,10957,11149,11213,11597,11789,11981,12109,12301,12941,13709,13901,14... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1014.asm | ljhsiun2/medusa | 9 | 128891 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb656, %r10
nop
nop
nop
nop
nop
xor $44171, %rbp
mov $0x6162636465666768, %rcx
movq %rcx, %xmm1
movups %xmm1, (%r10)
add %r14, %r14
lea addresses_WT_ht+0x18c26, %rax
... |
libsrc/spectrum/if1/if1_remove_file.asm | andydansby/z88dk-mk2 | 1 | 128892 | <filename>libsrc/spectrum/if1/if1_remove_file.asm<gh_stars>1-10
;
; ZX IF1 & Microdrive functions
;
; remove a given file in the given drive
;
; int if1_remove (int drive, char *filename);
;
; $Id: if1_remove_file.asm,v 1.1 2008/06/29 08:25:48 aralbrec Exp $
;
XLIB if1_remove_file
LIB if1_setname
LIB if1_rom... |
programs/oeis/133/A133823.asm | neoneye/loda | 22 | 128893 | <reponame>neoneye/loda
; A133823: Triangle whose rows are sequences of increasing and decreasing cubes:1; 1,8,1; 1,8,27,8,1; ... .
; 1,1,8,1,1,8,27,8,1,1,8,27,64,27,8,1,1,8,27,64,125,64,27,8,1,1,8,27,64,125,216,125,64,27,8,1,1,8,27,64,125,216,343,216,125,64,27,8,1,1,8,27,64,125,216,343,512,343,216,125,64,27,8,1,1,8,27,... |
oeis/077/A077253.asm | neoneye/loda-programs | 11 | 128894 | ; A077253: Sum of digits squared plus sum of digits of n.
; Submitted by <NAME>(s3)
; 2,6,12,20,30,42,56,72,90,2,4,8,14,22,32,44,58,74,92,6,8,12,18,26,36,48,62,78,96,12,14,18,24,32,42,54,68,84,102,20,22,26,32,40,50,62,76,92,110,30,32,36,42,50,60,72,86,102,120,42,44,48,54,62,72,84,98,114,132,56,58,62,68,76,86,98,112,128... |
programs/disktest.asm | informer2016/MichalOS | 0 | 128895 | <reponame>informer2016/MichalOS<filename>programs/disktest.asm
; ------------------------------------------------------------------
; MichalOS Disk test
; ------------------------------------------------------------------
BITS 16
%INCLUDE "michalos.inc"
ORG 100h
start:
mov dx, 65535
.loop:
inc dx
cmp dx, 256
... |
oeis/177/A177755.asm | neoneye/loda-programs | 11 | 128896 | <filename>oeis/177/A177755.asm
; A177755: Number of ways to place 2 nonattacking bishops on an n X n toroidal board.
; 0,4,18,80,200,468,882,1600,2592,4100,6050,8784,12168,16660,22050,28928,36992,46980,58482,72400,88200,106964,128018,152640,180000,211588,246402,286160,329672,378900,432450,492544,557568,630020,708050,79... |
virus/infector.asm | roguematter/malware-csg513 | 0 | 128897 | <reponame>roguematter/malware-csg513<gh_stars>0
;============================================================
;i have really messed up this module but it was in a way good
;but the virus is very inefficient in terms of resources
;
;E2 thinks it will get the new_host as arg 1
;(read all instances of host in the E2 code ... |
secude-4.1.all/secude/src/crypt/arithmetic/mc68apollo/sub.asm | rekav0k/Applied-Cryptography | 4 | 128898 | <gh_stars>1-10
********************************************************************
* Copyright (C) 1991, GMD. All rights reserved. *
* *
* *
* NOT... |
brokenhttpd/exploit/my_shellcode.asm | rkujawa/barcamp-osec-selinux | 0 | 128899 | <filename>brokenhttpd/exploit/my_shellcode.asm
[section .text]
global _start
_start:
jmp ender
starter:
;fd = open('/etc/passwd',O_RDONLY /* = 0 */,0)
pop rdi ;rdi = '/etc/passwd'
mov rsi, 0x0
mov rdx, 0x0
mov rax, 2 ;sys_open = 2
syscall
; save fd to rbx
mov rbx, rax
;read(fd, memory_w, si... |
libsrc/target/pmd85/stdio/generic_console_vpeek.asm | Frodevan/z88dk | 640 | 128902 | <gh_stars>100-1000
MODULE generic_console_vpeek
SECTION code_clib
PUBLIC generic_console_vpeek
EXTERN generic_console_xypos
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN screendollar
EXTERN screendollar_with_count
generic_con... |
fiat-amd64/29.69_ratio12300_seed2886888088419340_square_curve25519.asm | dderjoel/fiat-crypto | 491 | 128904 | <filename>fiat-amd64/29.69_ratio12300_seed2886888088419340_square_curve25519.asm
SECTION .text
GLOBAL square_curve25519
square_curve25519:
sub rsp, 0x30 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x0 ], rbx; saving to stack
mov [ rsp + 0x8 ], rbp; saving to stack
mov [ rsp + 0x10 ], r12; saving to stack
mov [... |
programs/oeis/072/A072221.asm | neoneye/loda | 22 | 128905 | <filename>programs/oeis/072/A072221.asm<gh_stars>10-100
; A072221: a(n) = 6*a(n-1) - a(n-2) + 2, with a(0)=1, a(1)=4.
; 1,4,25,148,865,5044,29401,171364,998785,5821348,33929305,197754484,1152597601,6717831124,39154389145,228208503748,1330096633345,7752371296324,45184131144601,263352415571284,1534930362283105,8946229758... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_8301_331.asm | ljhsiun2/medusa | 9 | 128906 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1e31c, %r12
nop
nop
nop
nop
and $50497, %rsi
movups (%r12), %xmm4
vpextrq $1, %xmm4, %r11
nop
nop
sub $19911, %rcx
lea addresses_A_ht+0xbe9c, %rsi
lea addresses_normal_ht+0x15... |
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fssqr.asm | Frodevan/z88dk | 640 | 128907 |
; float __fssqr (float number)
SECTION code_clib
SECTION code_fp_math32
PUBLIC cm32_sdcc_fssqr
EXTERN m32_fssqr
; square (^2) sdcc floats
;
; enter : stack = sdcc_float number, ret
;
; exit : DEHL = sdcc_float(number^2)
;
; uses : af, bc, de, hl, af'
defc cm32_sdcc_fssqr = m32_fssqr
|
ScrollModus/_sfx/sfx/player.asm | kosmonautdnb/TheLandsOfZador | 0 | 128908 | PLAYER_BEGIN SET .
include "player_const.asm"
SUBROUTINE
include "player_code.asm"
include "player_frqtab.asm"
echo "PLAYER: ",[. - PLAYER_BEGIN]
SNGBEGIN = .
.song
include "song.asm"
ECHO "SONG: ",[.-.song]
echo "TOTAL: ",[. - PLAYER_BEGIN]
|
programs/oeis/122/A122431.asm | neoneye/loda | 22 | 128910 | ; A122431: Riordan array ((1+x)^3,x).
; 1,3,1,3,3,1,1,3,3,1,0,1,3,3,1,0,0,1,3,3,1,0,0,0,1,3,3,1,0,0,0,0,1,3,3,1,0,0,0,0,0,1,3,3,1,0,0,0,0,0,0,1,3,3,1,0,0,0,0,0,0,0,1
seq $0,25669 ; Exponent of 7 (value of i) in n-th number of form 7^i*8^j.
mov $1,3
bin $1,$0
mov $0,$1
|
x64/HideThread/hide_thread.asm | EgeBalci/SelfDefense | 20 | 128911 | <reponame>EgeBalci/SelfDefense
; Hide Trhead
; Author: <NAME>
; Size: 283 bytes
[BITS 32]
cld ; Clear direction flags
call start ; Get the address of api block to stack
%include "../block_api.asm"; https://github.com/rapid7/metasploit-framework/blob/master/external/sour... |
software/pcx86/bdsrc/dos/utilsys.asm | jeffpar/basicdos | 59 | 128912 | <reponame>jeffpar/basicdos
;
; BASIC-DOS Utility Services
;
; @author <NAME> <<EMAIL>>
; @copyright (c) 2020-2021 <NAME>
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
include 8086.inc
include dev.inc
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1460.asm | ljhsiun2/medusa | 9 | 128913 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x81c5, %rsi
nop
nop
nop
nop
nop
xor %r8, %r8
movb $0x61, (%rsi)
sub %r12, %r12
lea addresses_WT_ht+0x43e7, %rcx
nop
nop
and $12541, %r13
mov (%rcx), %r8d
nop
xor $26519, %... |
nine/prg_rom/animations.asm | pompshuffle/super-tilt-bro | 2 | 128914 | ;
; State format
; Byte 0 - X lsb
; Byte 1 - X msb
; Byte 2 - Y lsb
; Byte 3 - Y msb
; Byte 4-5 - vector to animation data
; Byte 6 - direction of the animation (0 - natural, 1 - horizontally flipped)
; Byte 7 - tick number
; Byte 8 - index of the first OAM sprite to use
; Byte 9 - index of the last O... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_353.asm | ljhsiun2/medusa | 9 | 128916 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rcx
push %rdi
// Faulty Load
lea addresses_A+0x6191, %rcx
nop
add %r15, %r15
mov (%rcx), %r11d
lea oracles, %r8
and $0xff, %r11
shlq $12, %r11
mov (%r8,%r11,1), %r11
pop %rdi
pop %rcx... |
src/PJ/flic386p/libsrc/8514/mmmmdot.asm | AnimatorPro/Animator-Pro | 119 | 128917 | <filename>src/PJ/flic386p/libsrc/8514/mmmmdot.asm
include a8514.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
dot_v equ [ebp+8]
dot_color equ [ebp+12]
dot_x equ [ebp+16]
dot_y equ [ebp+20]
public _pj_8514_put_dot
public pj_8514_put_dot
_pj_8514_put_dot proc near
pj_85... |
libsrc/stdio/__printf_handle_B.asm | jpoikela/z88dk | 0 | 128918 |
MODULE __printf_handle_B
SECTION code_clib
PUBLIC __printf_handle_B
EXTERN __printf_number
EXTERN __printf_set_base
EXTERN __printf_disable_plus_flag
__printf_handle_B:
IF __CPU_INTEL__
ld c,2
call __printf_set_base
call __printf_disable_plus_flag
ELSE
ld (ix-9),2
res 1,(ix-4) ... |
windows/core/ntgdi/gre/i386/xline.asm | npocmaka/Windows-Server-2003 | 17 | 128919 | page ,132
;------------------------------Module-Header-------------------------------;
; Module Name: xline.asm ;
; ;
; Contains the line intersection routine. ... |
src/firmware-tests/Platform/Main/ResetMocks.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 128921 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Platform.inc"
#include "TestDoubles.inc"
radix decimal
global calledInitialiseAfterPowerOnReset
global calledInitialiseAfterBrownOutReset
global calledInitialiseAfterMclrReset
udata
calledInitialiseAfterPowerOnReset res 1
calledInitialiseAfterBrownOutRes... |
THE ONE.asm | Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family- | 16 | 128922 | TITEL MYPROG1
.MODEL SMALL
.STACK 100H
.DATA
MSG DB 'THIS IS THE ONE!'
.CODE
MAIN PROC
MOV AX,DATA@
MOV DX,AX
LEA DX,MSG
MOV AH,9H
INT 21H
MOV AH,4CH
INT 21
MAIN ENDP
END MAIN |
resources/instruction-tests.asm | GeorgeBernard/350assembler | 1 | 128923 | DEPTH = 4096;
WIDTH = 32;
ADDRESS_RADIX = DEC;
DATA_RADIX = BIN;
CONTENT
BEGIN
-- noop # Draw arbitrary
0000 : 00000000000000000000000000000000;
-- addi $1, $0, 640 # scr_w = 640
0001 : 00101000010000000000001010000000;
-- addi $2, $0, 480 # scr_h = 480
0002 : 0010100010000000000000011110000... |
engine/battle/moveEffects/recoil_effect.asm | adhi-thirumala/EvoYellow | 16 | 128924 | RecoilEffect_:
ld a, [H_WHOSETURN]
and a
ld a, [wPlayerMoveNum]
ld hl, wBattleMonMaxHP
jr z, .recoilEffect
ld a, [wEnemyMoveNum]
ld hl, wEnemyMonMaxHP
.recoilEffect
ld d, a
ld a, [wDamage]
ld b, a
ld a, [wDamage + 1]
ld c, a
srl b
rr c
ld a, d
cp STRUGGLE ; struggle deals 50% recoil damage
jr z, .gotRe... |
libsrc/graphics/eg2000/clsgraph.asm | grancier/z180 | 0 | 128925 | ;
; Colour Genie EG2000 graphics routines
;
; clsgraph () -- clear screen
;
; <NAME> - 2015
;
;
; $Id: clsgraph.asm,v 1.3 2017/01/02 22:57:58 aralbrec Exp $
;
SECTION code_clib
PUBLIC clsgraph
PUBLIC _clsgraph
INCLUDE "graphics/grafix.inc"
.clsgraph
._clsgraph
cal... |
07/StackArithmetic/StackTest/StackTest.asm | gabrieljablonski/ESC-College-Course-Work | 0 | 128926 | // push constant 17
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 17
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
// eq
@SP
M=M-1
A=M
D=M
@SP
M=M-1
A=M
D=M-D
@EQ_0
D;JEQ
@SP
A=M
M=0
@CONTINUE_0
0;JMP
(EQ_0)
@SP
A=M
M=-1
(CONTINUE_0)
@SP
M=M+1
// push constant 17
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 16
@16
D=A
@SP
A=M
M=D
@... |
libsrc/spectrum/tape/tape_load_block_callee.asm | meesokim/z88dk | 0 | 128927 | <gh_stars>0
;
; Tape load routine
;
; djm 16/10/2001
;
; int __CALLEE__ tape_load_block_callee(void *addr, size_t len, unsigned char type)
;
PUBLIC tape_load_block_callee
PUBLIC ASMDISP_TAPE_LOAD_BLOCK_CALLEE
IF FORts2068
EXTERN call_extrom
ELSE
EXTERN call_rom3
ENDIF
.tape_load_block_callee
pop hl
... |
programs/oeis/003/A003958.asm | neoneye/loda | 22 | 128928 | <gh_stars>10-100
; A003958 o=1: If n = Product p(k)^e(k) then a(n) = Product (p(k)-1)^e(k).
; Coded manually 2021-02-28 by <NAME>, https://github.com/karttu
; Essentially implementing the logic of the following PARI-script: A003958(n) = { my(u=1); for(p=2,n,while(!(n%p),u*=(p-1); n/=p)); (u); };
; Now incorporating fre... |
tk_qsrc/q1source/QW/client/r_edgea.asm | cr88192/bgbtech_btsr1arch | 15 | 128929 | <reponame>cr88192/bgbtech_btsr1arch<gh_stars>10-100
.386P
.model FLAT
externdef _d_zistepu:dword
externdef _d_pzbuffer:dword
externdef _d_zistepv:dword
externdef _d_zrowbytes:dword
externdef _d_ziorigin:dword
externdef _r_turb_s:dword
externdef _r_turb_t:dword
externdef _r_turb_pdest:dword
externdef _r_turb_... |
src/isa/avx2/masm/exp2_fma3.asm | jepler/aocl-libm-ose | 66 | 128930 | ;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification,
; are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice,
; this list of... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1162.asm | ljhsiun2/medusa | 9 | 128932 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xeb6, %r9
nop
nop
nop
nop
add $44510, %rcx
movb (%r9), %r13b
nop
nop
nop
nop
nop
and $31595, %rbp
lea addresses_UC_ht+0x18226, %r10
nop
nop
nop
nop
nop
xor $54541, %rsi
movb (... |
mips6.asm | williamacedo/mars | 0 | 128933 | <reponame>williamacedo/mars
.data
msg1: .asciiz "Digite numero 1: "
msg2: .asciiz "Digite numero 2: "
result: .asciiz "\nResultado: "
.text
# Ler Valor 1
li $v0, 4
la $a0, msg1
syscall
# Receber Valor 1
li $v0, 5
syscall
move $t1, $v0
# Ler Valor 2
li $v0, 4
la $a0, msg2
syscall
# Recebe Valor 2
... |
programs/oeis/283/A283506.asm | jmorken/loda | 1 | 128934 | ; A283506: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 641", based on the 5-celled von Neumann neighborhood.
; 1,0,5,12,29,60,125,252,509,1020,2045,4092,8189,16380,32765,65532,131069,262140,524285,1048572,... |
src/intro.asm | fjpena/sword-of-ianna-msx2 | 43 | 128935 | INCLUDE "introscr.sym"
INCLUDE "endingscr.sym"
intro_screens: dw intro1, intro2, intro3
final_screens: dw ending1, ending2
INTRO_SCR_PAGE: EQU 41
END_SCR_PAGE: EQU 42
intro:
; Check if this is the first time the intro is run,
; and only run it if we are in level 1
ld a, INTRO_SCR_PAGE
ld (slideshow_r... |
alice3/rom/loader.asm | lkesteloot/alice | 63 | 128936 |
; This is the loader. It is copies to RAM by the preloader (see rom.asm).
; It is responsible for loading the first few sectors of the disk and
; running them.
; Defines loader:
#include "loader_address.asm"
; The port we use to interact with the pic.
PICPORT EQU 0
; Where we load the boot sectors to.
BOOT E... |
bvs/BvsGetState.asm | prokushev/FamilyAPI | 1 | 128937 | <filename>bvs/BvsGetState.asm
;/*!
; @file
;
; @brief BvsGetState DOS wrapper
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author <NAM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.