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 |
|---|---|---|---|---|
Tests/controls.i.asm | ped7g/ZXSpectrumNextTests | 3 | 53612 | MACRO REGISTER_KEY keyCode, handlerAddress
ld a,keyCode
ld de,handlerAddress
call RegisterKeyhandler
ENDM
KEY_NONE equ $FF
KEY_CAPS equ 0
KEY_Z equ 1
KEY_X equ 2
KEY_C equ 3
KEY_V equ 4
KEY_A equ 5
KEY_S ... |
src/hack_house_from_house_type.asm | mvdhout1992/ts-patches | 33 | 53613 | %include "TiberianSun.inc"
%include "macros/patch.inc"
%include "macros/datatypes.inc"
cextern UsedSpawnsArray
sstring HouseNameNeutral, "Neutral"
hack 0x004C4733, 0x004C4739
_HouseClase__House_From_HouseType:
cmp ecx, 50
jge .house_by_spawn
mov edi, [0x007E1568]
jmp hackend
.ho... |
13.asm | LeslieYon/8086asm | 0 | 53615 | DSEG SEGMENT;数据段
ARRORG DW 1,-2,3,-4,5,-6,7,-8,9,-10,11,-12,-13,-14,15,-16,-17,18,19,-20
ARRPOS DW 14H DUP(?)
ARRNEG DW 14H DUP(?)
TIPPOS DB 'The number of positive:$'
TIPNEG DB 'The number of negative:$'
POSNUM DW 0H
NEGNUM DW 0H
NUMIDX DW 1,10,100,1000,10000
DSEG ENDS
SSEG SEGMENT;堆栈段
DW 64 D... |
src/text.asm | Gegel85/SpaceShooterGB | 3 | 53617 | SECTION "Text", ROMX[$7D00], BANK[1]
gameOverText::
db "GAME OVER"
gameOverTextEnd::
retry::
db "START RETRY"
retryEnd::
menu::
db "SELECT MENU"
menuEnd::
pressStart::
db "PRESS START"
pressStartEnd::
nantes::
db "NANTES"
nantesEnd::
creditsText::
db "CREDITS"
creditsTextEnd::
creditTextArray::
db "ORIGINAL ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2605.asm | ljhsiun2/medusa | 9 | 53618 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x13bc6, %r15
nop
nop
nop
nop
sub $16837, %rbx
vmovups (%r15), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %r12
add %r10, %r10
lea addresses_W... |
programs/oeis/057/A057526.asm | karttu/loda | 0 | 53619 | <filename>programs/oeis/057/A057526.asm
; A057526: Number of applications of f to reduce n to 1, where f(k) is the integer among k/2,(k-1)/4, (k+1)/4.
; 0,1,1,2,1,2,2,3,2,2,2,3,2,3,3,4,3,3,2,3,2,3,3,4,3,3,3,4,3,4,4,5,4,4,3,4,3,3,3,4,3,3,3,4,3,4,4,5,4,4,3,4,3,4,4,5,4,4,4,5,4,5,5,6,5,5,4,5,4,4,4,5,4,4,3,4,3,4,4,5,4,4,3,4... |
libsrc/stdio/__scanf_handle_s.asm | dikdom/z88dk | 1 | 53620 | <filename>libsrc/stdio/__scanf_handle_s.asm
MODULE __scanf_handle_s
SECTION code_clib
PUBLIC __scanf_handle_s
EXTERN __scanf_common_start
EXTERN __scanf_nextarg
EXTERN __scanf_consume_whitespace
EXTERN scanf_exit
EXTERN __scanf_ungetchar
EXTERN __scanf_getchar
EXTERN sc... |
Lista 2/2.asm | AtilaAssuncao/MIPS-AP2 | 0 | 53621 | .data
message: .ascii "A raiz quadrada e: \n"
message2: .ascii "O valor e invalido\n"
float: .float 20.0
zero: .float 0.0
.text
main:
# Loading float
lwc1 $f0, float
lwc1 $f2, zero
# Condicionais
c.le.s $f2, $f0
bc1t higher
li $v0, 4
la $a0, message
syscall
# Instrucao para finalizar o programa
... |
TankBot_Code_Dev/TankBotTest/asm/src/pwm_dc_motor_lib.asm | CmdrZin/chips_avr_examples | 5 | 53622 | /*
* PWM DC Motor Control Lib
*
* org: 11/18/2014
* auth: Nels "Chip" Pearson
*
* Target: TankBot Board, 20MHz, ATmega164P
*
*
* Dual DC Motor PWM driver.
* STBY: 0-Motor OFF 1-Motor ON
*
* Control
* 0 0 STOP
* 0 1 FWD
* 1 0 REV
* 1 1 BREAK
*
* PWM: 10ms period. 8us r... |
Crypto/Aes_hw_cpu.asm | shangweixiao/TrueCrypt | 1 | 53623 | <gh_stars>1-10
;
; Copyright (c) 2010 TrueCrypt Developers Association. All rights reserved.
;
; Governed by the TrueCrypt License 3.0 the full text of which is contained in
; the file License.txt included in TrueCrypt binary and source code distribution
; packages.
;
%ifidn __BITS__, 16
%define R e
%elifidn __BITS_... |
data/baseStats/victreebel.asm | adhi-thirumala/EvoYellow | 16 | 53624 | db DEX_VICTREEBEL ; pokedex id
db 80 ; base hp
db 105 ; base attack
db 65 ; base defense
db 70 ; base speed
db 100 ; base special
db GRASS ; species type 1
db POISON ; species type 2
db 52 ; catch rate, full heal
db 191 ; base exp yield
INCBIN "pic/ymon/victreebel.pic",0,1 ; 77, sprite dimensions
dw VictreebelPicFront... |
oeis/142/A142541.asm | neoneye/loda-programs | 11 | 53625 | <filename>oeis/142/A142541.asm
; A142541: Primes congruent to 11 mod 53.
; Submitted by <NAME>
; 11,223,541,647,859,1283,1601,2131,2237,2767,3191,4357,4463,4993,5099,5417,6053,6689,7219,7537,7643,8597,9127,9551,10399,11353,11777,12413,13049,13367,14321,14533,14639,14851,14957,16229,16547,16759,17077,17183,17713,18773,1... |
kernel/hal/paging.asm | ETroll/TrollOS | 10 | 53626 | ; paging.asm
; Platform dependent helper functions for paging support
global paging_enable
paging_enable:
push ebp
mov ebp,esp
mov eax, cr0
cmp dword [ebp+8], 1
je .enable
jmp .disable
.enable:
or eax, 0x80000000
mov cr0, eax
jmp .done
.disable:
and eax, 0x7FFFFFFF
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1744.asm | ljhsiun2/medusa | 9 | 53627 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x7607, %rsi
lea addresses_A_ht+0xaf87, %rdi
nop
nop
nop
inc %r12
mov $106, %rcx
rep movsq
nop
nop
nop
nop
nop
sub %r14, %r14
lea addresses_D_ht+0x6a87, %r9
clflu... |
programs/oeis/023/A023592.asm | neoneye/loda | 22 | 53628 | <reponame>neoneye/loda
; A023592: Least odd prime divisor of 2*prime(n)+1.
; 5,7,11,3,23,3,5,3,47,59,3,3,83,3,5,107,7,3,3,11,3,3,167,179,3,7,3,5,3,227,3,263,5,3,13,3,3,3,5,347,359,3,383,3,5,3,3,3,5,3,467,479,3,503,5,17,7,3,3,563,3,587,3,7,3,5,3,3,5,3,7,719,3,3,3,13,19,3,11,3,839,3,863,3,3,887,29,3,13,3,5,7,3,983,3,19,1... |
libtool/src/gmp-6.1.2/mpn/ia64/aorsorrlshC_n.asm | kroggen/aergo | 1,602 | 53629 | dnl IA-64 mpn_addlshC_n, mpn_sublshC_n, mpn_rsblshC_n.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2003-2005, 2010, 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under th... |
programs/oeis/280/A280173.asm | karttu/loda | 1 | 53630 | ; A280173: a(0) = 1, a(n+1) = 2*a(n) + periodic sequence of length 2: repeat [5, -4].
; 1,7,10,25,46,97,190,385,766,1537,3070,6145,12286,24577,49150,98305,196606,393217,786430,1572865,3145726,6291457,12582910,25165825,50331646,100663297,201326590,402653185,805306366,1610612737,3221225470,6442450945,12884901886,25769803... |
programs/oeis/314/A314163.asm | neoneye/loda | 22 | 53631 | ; A314163: Coordination sequence Gal.5.301.2 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,11,16,22,28,34,39,45,50,55,61,66,72,78,84,89,95,100,105,111,116,122,128,134,139,145,150,155,161,166,172,178,184,189,195,200,205,211,216,... |
programs/oeis/023/A023645.asm | neoneye/loda | 22 | 53632 | ; A023645: a(n) = tau(n)-1 if n is odd or tau(n)-2 if n is even.
; 0,0,1,1,1,2,1,2,2,2,1,4,1,2,3,3,1,4,1,4,3,2,1,6,2,2,3,4,1,6,1,4,3,2,3,7,1,2,3,6,1,6,1,4,5,2,1,8,2,4,3,4,1,6,3,6,3,2,1,10,1,2,5,5,3,6,1,4,3,6,1,10,1,2,5,4,3,6,1,8,4,2,1,10,3,2,3,6,1,10,3,4,3,2,3,10,1,4,5,7
mov $4,2
mov $6,$0
lpb $4
mov $0,$6
mov $3,... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_169.asm | ljhsiun2/medusa | 9 | 53633 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x16fc5, %rsi
lea addresses_normal_ht+0xf365, %rdi
nop
nop
nop
nop
sub %r12, %r12
mov $83, %rcx
rep movsq
sub %r15, %r15
lea addresses_UC_ht+0x13d15, %r13
nop
nop
xor %r8, %r8
mov (%r13)... |
intel_x64/normalise.asm | marcin-waszak/mips_histogram | 0 | 53634 | ;normalise.asm
section .data
imax: dq 255.0
section .text
global minmax
global normalise
global makelutn
; void minmax(SDL_Surface *srf, unsigned char *min, unsigned char *max)
minmax: ;RDI, RSI, RDX
push rbp
mov rbp, rsp
push rbx
push r13
; int 3 ; debug interruption
mov r8d, [rdi+20] ; r8 = rows (Y axis... |
programs/oeis/344/A344864.asm | neoneye/loda | 22 | 53635 | <reponame>neoneye/loda
; A344864: a(n) = mu(d(n)).
; 1,-1,-1,-1,-1,0,-1,0,-1,0,-1,1,-1,0,0,-1,-1,1,-1,1,0,0,-1,0,-1,0,0,1,-1,0,-1,1,0,0,0,0,-1,0,0,0,-1,0,-1,1,1,0,-1,1,-1,1,0,1,-1,0,0,0,0,0,-1,0,-1,0,1,-1,0,0,-1,1,0,0,-1,0,-1,0,1,1,0,0,-1,1,-1,0,-1,0,0,0,0,0,-1,0,0,1,0,0,0,0,-1,1,1,0
seq $0,5 ; d(n) (also called tau(n... |
scripts/HallOfFame.asm | opiter09/ASM-Machina | 1 | 53636 | HallOfFame_Script:
call EnableAutoTextBoxDrawing
ld hl, HallOfFame_ScriptPointers
ld a, [wHallOfFameCurScript]
jp CallFunctionInTable
HallofFameRoomScript_5a4aa:
xor a
ld [wJoyIgnore], a
ld [wHallOfFameCurScript], a
ret
HallOfFame_ScriptPointers:
dw HallofFameRoomScript0
dw HallofFameRoomScript1
dw HallofF... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_86.asm | ljhsiun2/medusa | 9 | 53637 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf4cd, %rsi
lea addresses_A_ht+0xf251, %rdi
sub %rbp, %rbp
mov $108, %rcx
rep movsw
nop
nop
nop
sub $11900, %r10
lea addresses_UC_ht+0x13e65, %rdi
nop
nop
nop
nop
nop
xor %r1... |
engine/overworld/elevator.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 53638 | <filename>engine/overworld/elevator.asm
ShakeElevator:
ld de, -$20
call ShakeElevatorRedrawRow
ld de, SCREEN_HEIGHT * $20
call ShakeElevatorRedrawRow
call Delay3
ld a, $ff
call PlaySound
ld a, [hSCY]
ld d, a
ld e, $1
ld b, 100
.shakeLoop ; scroll the BG up and down and play a sound effect
ld a, e
xor $fe
... |
programs/oeis/145/A145446.asm | neoneye/loda | 22 | 53639 | <filename>programs/oeis/145/A145446.asm
; A145446: a(n) = the smallest cube > n-th prime
; 8,8,8,8,27,27,27,27,27,64,64,64,64,64,64,64,64,64,125,125,125,125,125,125,125,125,125,125,125,125,216,216,216,216,216,216,216,216,216,216,216,216,216,216,216,216,216,343,343,343,343,343,343,343,343,343,343,343,343,343,343,343,343... |
oeis/261/A261196.asm | neoneye/loda-programs | 11 | 53641 | ; A261196: Expansion of sqrt(8*x + sqrt(1 + 64*x^2)).
; Submitted by <NAME>
; 1,4,8,-32,-160,896,5376,-33792,-219648,1464320,9957376,-68796416,-481574912,3408068608,24343347200,-175272099840,-1270722723840,9268801044480,67971207659520,-500840477491200,-3706219533434880,27531916534087680,205237923254108160,-153482273042... |
programs/oeis/029/A029050.asm | neoneye/loda | 22 | 53643 | <reponame>neoneye/loda
; A029050: Expansion of 1/((1-x)(1-x^3)(1-x^7)(1-x^9)).
; 1,1,1,2,2,2,3,4,4,6,7,7,9,10,11,13,15,16,19,21,22,26,28,30,34,37,39,44,48,50,56,60,63,69,74,78,85,91,95,103,109,114,123,130,136,146,154,160,171,180,187,199,209,217,230
lpb $0
mov $2,$0
sub $0,3
seq $2,25785 ; Expansion of 1/((1-x)(1... |
oeis/162/A162024.asm | neoneye/loda-programs | 11 | 53644 | ; A162024: Number of n X n binary arrays with rows and columns, considered as binary numbers, in nondecreasing order, and all but the outermost row or column zero.
; 7,20,40,68,104,148,200,260,328,404,488,580,680,788,904,1028,1160,1300,1448,1604,1768,1940,2120,2308,2504,2708,2920,3140,3368,3604,3848,4100,4360,4628,4904... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_4756_880.asm | ljhsiun2/medusa | 9 | 53645 | <filename>Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_4756_880.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xc6b7, %rsi
lea addresses_D_ht+0x62f7, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
cmp %r10, ... |
programs/oeis/036/A036982.asm | karttu/loda | 0 | 53646 | <filename>programs/oeis/036/A036982.asm<gh_stars>0
; A036982: a(n)=[ a*a(n-1)+b ]/p^r, where a=2.001, b=3.2, p=2 and p^r is the highest power of p dividing [ a*a(n-1)+b ].
; 1,5,13,29,61,125,253,509,1021,1023,1025,1027,1029,1031,1033,1035,1037,1039,1041,1043,1045,1047,1049,1051,1053,1055,1057,1059,1061,1063,1065,1067,1... |
programs/oeis/169/A169598.asm | neoneye/loda | 22 | 53648 | ; A169598: Numbers that are congruent to {3,18} mod 23.
; 3,18,26,41,49,64,72,87,95,110,118,133,141,156,164,179,187,202,210,225,233,248,256,271,279,294,302,317,325,340,348,363,371,386,394,409,417,432,440,455,463,478,486,501,509,524,532,547,555,570,578,593,601,616,624,639,647,662,670,685,693,708,716,731,739,754,762,777,... |
test/avx2.asm | bitwiseworks/nasm-os2 | 3 | 53649 | <filename>test/avx2.asm
; AVX testcases from gas
;------------------------
;
; This file is taken from there
; http://sourceware.org/ml/binutils/2011-06/msg00150.html
; So the original author is "<NAME>" <hongjiu dot lu at intel dot com>
;
; nasm64developer adopted it for the nasm testing suite
%macro t... |
programs/oeis/102/A102690.asm | neoneye/loda | 22 | 53650 | <reponame>neoneye/loda
; A102690: Number of n-expodigital numbers (i.e., numbers m such that m^n has exactly n decimal digits).
; 10,6,5,4,3,3,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1
seq $0,102691 ; Least n-expodigital number (i.e., numbers m such that m^n has exactly n decimal digits).
sub $1,$0
add $1,10
mov $0,$1
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_877.asm | ljhsiun2/medusa | 9 | 53651 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x135fa, %rsi
lea addresses_WT_ht+0x1a55a, %rdi
nop
and $21088, %r9
mov $32, %rcx
rep movsq
nop
nop
nop
nop
nop
sub %rsi, %rsi
lea addresses_D_ht+0x1a75a, %rbp
nop
nop
nop
and $... |
programs/oeis/197/A197773.asm | neoneye/loda | 22 | 53652 | <reponame>neoneye/loda
; A197773: Ceiling((n+1/n)^3)
; 8,16,38,77,141,235,365,537,757,1031,1365,1765,2237,2787,3421,4145,4965,5887,6917,8061,9325,10715,12237,13897,15701,17655,19765,22037,24477,27091,29885,32865,36037,39407,42981,46765,50765,54987,59437,64121,69045,74215,79637,85317,91261,97475,103965,110737,117797,125... |
HW8/Problem2A.asm | ewbrowntech/COMP-3350 | 0 | 53653 | .386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
TITLE Bit Shift Binary Multiplication - <NAME> (HW8Problem2A.asm)
INCLUDE Irvine32.inc
.data
.code
main PROC
mov ebx, 11
mov eax, ebx
call WriteInt
call crlf
shl ebx, 3
add ebx, eax
shl eax, 1
add ebx, eax
m... |
asm/err.asm | I8087/Pop | 1 | 53654 | <filename>asm/err.asm
; This is the error handling code.
; NOTE: Unlike exceptions, errors are problems that will most likely
; cause the program to terminate. (Ex. IndexError or OutOfMemoryError)
global ___IndexError
___IndexError:
push ebp
mov ebp, esp
; Display a error message here.
; Push the error code and... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_3_1804.asm | ljhsiun2/medusa | 9 | 53655 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19300, %rsi
lea addresses_normal_ht+0x1e940, %rdi
nop
nop
nop
nop
sub %r8, %r8
mov $35, %rcx
rep movsw
sub %rax, %rax
lea addresses_WT_ht+0x17b1c, %rsi
lea addr... |
bootix_dmg.asm | Hacktix/Bootix | 29 | 53656 | <reponame>Hacktix/Bootix
INCLUDE "inc/hardware.inc"
SCX_MAX_OFF EQU $10
ANIM_TIMEOUT EQU 28
SOUND_TIMEOUT_1 EQU 39
SOUND_TIMEOUT_2 EQU 394
SECTION "Bootrom", ROM0[0]
; Initialize SP
ld sp, $FFFE
; Clear VRAM
ld hl, $9FFF
ClearVRAM:
xor a
ld [hld], a
bit 7, h
jr nz, ClearVRAM
... |
oeis/165/A165755.asm | neoneye/loda-programs | 11 | 53658 | ; A165755: a(n) = (5-3*5^n)/2.
; 1,-5,-35,-185,-935,-4685,-23435,-117185,-585935,-2929685,-14648435,-73242185,-366210935,-1831054685,-9155273435,-45776367185,-228881835935,-1144409179685,-5722045898435,-28610229492185,-143051147460935,-715255737304685,-3576278686523435,-17881393432617185,-89406967163085935,-44703483581... |
libsrc/stdio/__scanf_common_start.asm | dikdom/z88dk | 1 | 53659 |
MODULE __scanf_common_start
SECTION code_clib
PUBLIC __scanf_common_start
EXTERN __scanf_consume_whitespace
EXTERN __scanf_nextarg
EXTERN __scanf_getchar
EXTERN __scanf_ungetchar
EXTERN __scanf_check_suppressed
EXTERN __scanf_set_signflag
; Common start code for number fo... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_22.asm | ljhsiun2/medusa | 9 | 53660 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xae1e, %rsi
lea addresses_A_ht+0x8ee, %rdi
clflush (%rsi)
nop
nop
xor %r14, %r14
mov $116, %rcx
rep movsl
nop
nop
nop
nop
xor %r11, %r11
lea addresses_D_ht+0xeeee, %r8
clf... |
joypad.asm | neilbaldwin/PR8 | 8 | 53661 | ;--------------------------------------------------------------------------------
; JOYPAD READING
;--------------------------------------------------------------------------------
;
;Scan joypad, returning dynamic & debounced values
;
readPad1: ;rts
@a: jsr @read_bits ;debounce joypad
ldx PAD1_jt ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_507_1861.asm | ljhsiun2/medusa | 9 | 53662 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_507_1861.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x943d, %rsi
lea addresses_UC_ht+0x1a35, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
add %r8, %r8
mov $81, %rcx
rep movsb
and... |
solutions/66 - Decimal Counter/size-23_speed-140.asm | michaelgundlach/7billionhumans | 45 | 53663 | <filename>solutions/66 - Decimal Counter/size-23_speed-140.asm
-- 7 Billion Humans (2144) --
-- 66: Decimal Counter --
-- Author: soerface
-- Size: 23
-- Speed: 140
step s
if s == button:
a:
listenfor go
step s
step n
tell w ok
jump a
endif
pickup c
step s
drop
if se == button:
tell everyone go
endif
b:
listen... |
oeis/038/A038521.asm | neoneye/loda-programs | 11 | 53665 | <reponame>neoneye/loda-programs
; A038521: Number of elements of GF(2^n) with trace 1 and subtrace 1.
; Submitted by <NAME>
; 0,2,1,4,10,12,36,64,120,272,496,1024,2080,4032,8256,16384,32640,65792,130816,262144,524800,1047552,2098176,4194304,8386560,16781312,33550336,67108864,134225920,268419072,536887296,1073741824,214... |
oeis/344/A344349.asm | neoneye/loda-programs | 11 | 53666 | <reponame>neoneye/loda-programs
; A344349: Number of primes along the main antidiagonal of the n X n square array whose elements are the numbers from 1..n^2, listed in increasing order by rows.
; Submitted by <NAME>
; 0,2,3,2,3,2,6,2,3,3,6,3,7,4,7,6,6,4,10,2,8,7,9,4,11,5,10,8,11,4,17,3,10,10,12,9,16,4,10,11,14,6,21,7,1... |
oeis/031/A031172.asm | neoneye/loda-programs | 11 | 53670 | ; A031172: a(n) = prime(n+10) - prime(n).
; Submitted by <NAME>(s2)
; 29,34,36,36,36,40,42,42,44,42,42,42,42,46,50,48,44,46,42,42,54,52,54,50,52,50,54,56,58,60,52,50,54,54,48,48,54,60,60,56,54,58,50,58,60,64,58,48,50,52,50,54,66,60,56,54,62,66,70,68,70,66,60,62,66,66,58,60,54,60,66,62,64,60,60,60,60,60,60,54,48,58,56,5... |
Transynther/x86/_processed/AVXALIGN/_zr_un_/i7-8650U_0xd2_notsx.log_4768_953.asm | ljhsiun2/medusa | 9 | 53671 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
// Store
lea addresses_A+0x9045, %r13
nop
nop
nop
nop
dec %rax
mov $0x5152535455565758, %rdx
movq %rdx, %xmm1
vmovups %ymm1, (%r13)
nop
nop
nop
nop
cmp $62102,... |
xv6/wc.asm | suriya-1403/suriya-s-XV6 | 2 | 53672 |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <wc>:
char buf[512];
void
wc(int fd, char *name)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int i, n;
int l, w, c, inword;
l = w = c = 0;
6: c7... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1185.asm | ljhsiun2/medusa | 9 | 53674 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1998f, %rsi
lea addresses_WC_ht+0xb9cf, %rdi
nop
cmp $47736, %rax
mov $116, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $64219, %r15
lea addresses_WT_ht+0x1d22f, %... |
libsrc/target/zx/stdio/getk_rom.asm | ahjelm/z88dk | 640 | 53675 | <filename>libsrc/target/zx/stdio/getk_rom.asm<gh_stars>100-1000
; getk() for use in ROMS, historical name
SECTION code_clib
PUBLIC getk
PUBLIC _getk
EXTERN getk_inkey
defc getk = getk_inkey
defc _getk = getk
|
libsrc/_DEVELOPMENT/arch/cpm/c/sccz80/cpm_bdos.asm | jpoikela/z88dk | 640 | 53676 | <reponame>jpoikela/z88dk
; int cpm_bdos(unsigned int func,unsigned int arg)
SECTION code_clib
SECTION code_arch
PUBLIC cpm_bdos
EXTERN asm_cpm_bdos
cpm_bdos:
pop af
pop de
pop bc
push bc
push de
push af
jp asm_cpm_bdos
|
oeis/010/A010133.asm | neoneye/loda-programs | 22 | 53677 | <gh_stars>10-100
; A010133: Continued fraction for sqrt(41).
; 6,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12,2,2,12
mov $2,$0
gcd $2,3
bin ... |
oeis/074/A074988.asm | neoneye/loda-programs | 11 | 53678 | <filename>oeis/074/A074988.asm
; A074988: Numbers n such that the k-th binary digit of n equals mu(k)^2 for k=1 up to A029837(n+1).
; Submitted by <NAME>
; 1,3,7,14,29,59,119,238,476,953,1907,3814,7629,15259,30519,61038,122077,244154,488309,976618,1953237,3906475,7812951,15625902,31251804,62503609,125007218,250014436,5... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1416.asm | ljhsiun2/medusa | 9 | 53679 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rbx
push %rsi
lea addresses_UC_ht+0x59b8, %r15
nop
nop
nop
nop
nop
xor $55680, %r10
movl $0x61626364, (%r15)
nop
nop
nop
nop
nop
and %r11, %r11
lea addresses_UC_ht+0x13fb8, %r15
nop
and $21404, %r11
mov (%r15), %bx
nop
nop
n... |
usDelay.asm | GMAN300/motor_code | 3 | 53680 | ; --COPYRIGHT--,BSD
; Copyright (c) 2012, Texas Instruments Incorporated
; All rights reserved.
;
; 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 copyr... |
exercises/ch11/num2.asm | gr0uch0dev/AssemblyExercisesAndNotes | 0 | 53681 | ; 11.2
; Write a program that inputs the following information from the user, using the Win32 Read-
; Console function: first name, last name, age, phone number. Redisplay the same information
; with labels and attractive formatting, using the Win32 WriteConsole function. Do not use any
; procedures from the Irvine32 l... |
libsrc/sprites/software/sp1/spectrum/sprites/sp1_MoveSprRel.asm | andydansby/z88dk-mk2 | 1 | 53682 | <reponame>andydansby/z88dk-mk2
; void sp1_MoveSprRel(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, char rel_row, char rel_col, char rel_vrot, char rel_hrot)
; CALLER linkage for function pointers
XLIB sp1_MoveSprRel
LIB sp1_MoveSprRel_callee
XREF ASMDISP_SP1_MOVESPRREL_CALLEE
.sp1_MoveSprRel
pop af
p... |
oeis/052/A052776.asm | neoneye/loda-programs | 11 | 53683 | <filename>oeis/052/A052776.asm
; A052776: a(n) = 4!*n*Stirling2(n-1,4).
; Submitted by <NAME>
; 0,0,0,0,0,120,1440,10920,67200,367416,1864800,9003720,41976000,190788312,850930080,3741028200,16264684800,70093951608,299953709280,1276255985160,5404640136000,22796986414104,95836788986400,401733800351400,1679813323056000,70... |
Release/37/CODBlops3/GameEngineCalls.asm | GoodstudyChina/Call-of-Duty-Black-Ops-III-Cheat | 22 | 53684 | .code
; 1.Param (RCX) = localClientNum
; 2.Param (RDX) = proxyAddr
; 3.Param (R8) = cgtAddr
GetCGTProxy proc
PUSH RBX
PUSH RCX
PUSH RDX
PUSH RBP
SUB RSP, 20h
MOV RBP, ReturnHere ;Called by the proxyAddr (JMP RBP)
PUSH RDX
JMP R8
ReturnHere:
ADD RSP, 20h
POP RBP
POP RDX
POP RCX
POP RBX
... |
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xca.log_21829_399.asm | ljhsiun2/medusa | 9 | 53685 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1acfc, %rsi
lea addresses_UC_ht+0x6a34, %rdi
nop
sub %r14, %r14
mov $106, %rcx
rep movsw
nop
nop
and %r9, %r9
lea addresses_WC_ht+0x5374, %r15
nop
nop
nop
nop
and $36440, %rc... |
test/z80/test_misc.asm | gb-archive/asmotor | 0 | 53686 | SECTION "Test",CODE[0]
Start:
ccf
cpl
daa
di
djnz Start
ei
halt
im 0
im 1
im 2
ldd
lddr
ldi
ldir
neg
nop
scf
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca_notsx.log_21829_535.asm | ljhsiun2/medusa | 9 | 53687 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca_notsx.log_21829_535.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rbp
push %rcx
lea addresses_D_ht+0x1bc7a, %rbp
nop
nop
nop
nop
nop
sub %rcx, %rcx
movb $0x61, (%rbp)
inc %rcx
pop %rcx
pop %rbp
pop %r10
ret
... |
oeis/000/A000684.asm | neoneye/loda-programs | 11 | 53690 | <filename>oeis/000/A000684.asm
; A000684: Number of colored labeled n-node graphs with 2 interchangeable colors.
; Submitted by <NAME>
; 1,3,13,81,721,9153,165313,4244481,154732801,8005686273,587435092993,61116916981761,9011561121239041,1882834327457349633,557257804202631217153,233610656002563147038721,1386812076567266... |
external/source/shellcode/windows/stager_bind_tcp.asm | madhavarao-yejarla/VoIP | 35 | 53691 | <reponame>madhavarao-yejarla/VoIP
;
; Metasploit Framework
; http://www.metasploit.com
;
; Source for bind_tcp (stager)
;
; Authors: hdm <<EMAIL>>, vlad902 <<EMAIL>>
; Size : 287
;
cld
push byte -0x15
inc edi
call 0x2
pusha
xor ebx,ebx
mov edi,[ebp+0x3c]
mov edi,[ebp+edi+0x78]
add edi,ebp
mov edx,... |
Script/1.asm | hosne-ara-tuli/CSE331L_Section_7_Summer20_NSU_Final | 0 | 53692 |
.MODEL SMALL
.STACK 100h
.CODE
MOV AH, 1
INT 21h
SUB AL, 32
MOV AH, 2
MOV DL, AL
INT 21h |
base/ntdll/i386/emsincos.asm | npocmaka/Windows-Server-2003 | 17 | 53694 | <reponame>npocmaka/Windows-Server-2003<gh_stars>10-100
; SCCSID = @(#)emsincos.asm 13.5 90/03/27
page ,132
subttl emsincos - fsin, fcos and fsincos
;***
;emulator.asm - 80387 emulator
;
; IBM/Microsoft Confidential
;
; Copyright (c) IBM Corporation 1987, 1989
; Copyright (c) Microsoft Corpora... |
programs/oeis/152/A152083.asm | neoneye/loda | 22 | 53695 | ; A152083: Number of occurrences of "I" in all Roman numerals of numbers from 1 to n
; 1,3,6,7,7,8,10,13,14,14,15,17,20,21,21,22,24,27,28,28,29,31,34,35,35,36,38,41,42,42,43,45,48,49,49,50,52,55,56,56,57,59,62,63,63,64,66,69,70,70,71,73,76,77,77,78,80,83,84,84,85,87,90,91,91,92,94,97,98,98,99,101,104,105,105,106,108,11... |
oeis/010/A010535.asm | neoneye/loda-programs | 11 | 53696 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A010535: Decimal expansion of square root of 84.
; 9,1,6,5,1,5,1,3,8,9,9,1,1,6,8,0,0,1,3,1,7,6,0,9,4,3,8,7,4,5,6,0,1,6,9,7,7,9,6,8,9,1,3,1,5,3,5,3,5,9,4,3,8,0,5,2,1,4,4,8,4,2,4,7,8,1,3,7,3,6,8,5,1,0,9,5,5,4,1,7,7,3,2,0,8,7,2,3,1,1,8,9,8,6,8,9,0,0,6,5
mov $1,1
mov $2,1
... |
nand2tetris/04/fill/Fill.asm | silverneko/HWs | 0 | 53697 | <reponame>silverneko/HWs<gh_stars>0
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME>, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the... |
oeis/176/A176060.asm | neoneye/loda-programs | 11 | 53698 | <reponame>neoneye/loda-programs
; A176060: a(n) = n*(n+1)*(3*n^2+5*n+4)/12.
; 0,2,13,46,120,260,497,868,1416,2190,3245,4642,6448,8736,11585,15080,19312,24378,30381,37430,45640,55132,66033,78476,92600,108550,126477,146538,168896,193720,221185,251472,284768,321266,361165,404670,451992,503348,558961,619060,683880,753662,8... |
Src/SacaraVm/vm_jump.asm | mrfearless/sacara | 0 | 53699 | <filename>Src/SacaraVm/vm_jump.asm<gh_stars>0
header_VmJump
vm_jump PROC
push ebp
mov ebp, esp
; read the offset to jump
push [ebp+arg0]
call_vm_stack_pop_enc
; modify the vm IP
mov ebx, [ebp+arg0]
mov [ebx+vm_ip], eax
mov esp, ebp
pop ebp
ret
vm_jump ENDP
header_marker |
sh_shell/sh_shell.asm | arunKumarNOP/shellcodes | 0 | 53700 | <filename>sh_shell/sh_shell.asm
;By <NAME>
;3rd March 2017
;execve("/bin/sh",{"/bin/sh",NULL}, NULL)
bits 32
global _start
section .text
_start:
;PUSH //bin/sh with null terminator
xor eax,eax
push eax
mov edx, esp ;envp = NULL
push 0x68732f6e ;hs/n
push 0x69622f2f ;ib//
mov ebx, esp ;string //bin/sh
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_996.asm | ljhsiun2/medusa | 9 | 53701 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_996.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
lea addresses_WT_ht+0x16257, %r11
nop
nop
nop
nop
nop
xor $25673, %rcx
movups (%r11), %xmm2
vpextrq $1, %xmm2, %rdx
add $2... |
kill.asm | Ankitchan/xv6OS | 0 | 53702 | <reponame>Ankitchan/xv6OS
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1652.asm | ljhsiun2/medusa | 9 | 53703 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1652.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x4faa, %r14
nop
nop
nop
nop
nop
cmp $47117, %rdi
mov (%r14), %edx
and %rsi, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %r14
ret
.gl... |
oeis/263/A263882.asm | neoneye/loda-programs | 11 | 53704 | <filename>oeis/263/A263882.asm
; A263882: Babbage quotients b_p = (binomial(2p-1, p-1) - 1)/p^2 with p = prime(n).
; Submitted by <NAME>
; 1,5,35,2915,30771,4037381,48954659,7782070631,17875901604959,242158352370063,637739431824553035,126348774791431208099,1794903484322270273951,367972191114796344623951,111650499441300... |
fiat-amd64/54.71_ratio11705_seed815469023996179_square_p256.asm | dderjoel/fiat-crypto | 491 | 53705 | <reponame>dderjoel/fiat-crypto
SECTION .text
GLOBAL square_p256
square_p256:
sub rsp, 0x68 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x38 ], rbx; saving to stack
mov [ rsp + 0x40 ], rbp; saving to stack
mov [ rsp + 0x48 ], r12; saving to stack
mov [ rsp + 0x50 ], r13; saving to stack
mov [ rsp + 0x58 ], r14;... |
oeis/165/A165491.asm | neoneye/loda-programs | 11 | 53707 | <gh_stars>10-100
; A165491: a(0)=1, a(1)=6, a(n) = 30*a(n-2) - a(n-1).
; Submitted by <NAME>
; 1,6,24,156,564,4116,12804,110676,273444,3046836,5156484,86248596,68445924,2519011956,-465634236,76035992916,-90005019996,2371084807476,-5071235407356,76203779631636,-228340841852316,2514454230801396,-9364679486370876,84798306... |
bin/Release/data/profiles/N64/libs/sm64mlib/colors.asm | DavidSM64/SimpleArmipsGui | 10 | 53708 | .defineLabel RGBA16_RED, 0xF801
.defineLabel RGBA16_GREEN, 0x07C1
.defineLabel RGBA16_BLUE, 0x003F
.defineLabel RGBA16_BLACK, 0x0001
.defineLabel RGBA16_MIDGRAY, 0x39CF
.defineLabel RGBA16_WHITE, 0xFFFF
.defineLabel RGBA16_TRANSPARENT, 0x0000
.macro .CI4_palette, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13,... |
basic/15_prosedur/prosedur.asm | bellshade/Assembly | 6 | 53709 | <reponame>bellshade/Assembly
section .text
global _start
_start:
mov ecx, '4'
sub evx, '0'
mov edx, '5'
sub edx, '0'
call sum ;memanggil fungsi dari sum
; yang dimasukkan pada bagian _start program assembly
mov [res], eax
mov edx, len
mov ebx, 1
mov eax, 4
int 0x80
... |
programs/oeis/076/A076621.asm | neoneye/loda | 22 | 53710 | ; A076621: Least square greater than the product of two successive primes.
; 9,16,36,81,144,225,324,441,676,900,1156,1521,1764,2025,2500,3136,3600,4096,4761,5184,5776,6561,7396,8649,9801,10404,11025,11664,12321,14400,16641,17956,19044,20736,22500,23716,25600,27225,28900,30976,32400
seq $0,1043 ; Numbers that are the s... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1469.asm | ljhsiun2/medusa | 9 | 53711 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1469.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x78b9, %rbx
nop
nop
and $41847, %rcx
mov $0x6162636465666768, %rax
movq %rax, (%rbx)
n... |
god_mode.asm | bcoffey218/Game-Hacking | 0 | 53712 | <gh_stars>0
{ Game : RainbowSix.exe
Version: 1.0
Date : 10-23-16
Author : <NAME>
Host Only
Makes all players & hostage invincible. Also makes Blackbeard's shield invincible.
Note 1: enemymem might not be working properly due to patch 5.1. rest still works.
Note 2: Uncomment line 60 (enemymem,sub edx,#9... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_2760_1101.asm | ljhsiun2/medusa | 9 | 53713 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12eb4, %rsi
lea addresses_D_ht+0x13b4, %rdi
nop
add $50177, %r15
mov $8, %rcx
rep movsb
nop
nop
nop
nop
mfence
lea addresses_WC_ht+0x12b4, %rsi
lea addresses_WC_ht+0x152b4, %rdi
nop
ad... |
ntio/dosio.asm | DigitalMars/optlink | 28 | 53714 | TITLE DOSIO - Copyright (c) 1994 by SLR Systems
INCLUDE MACROS
INCLUDE IO_STRUC
INCLUDE EXES
INCLUDE WINMACS
INCLUDE WIN32DEF
PUBLIC MESOUT,ERR_ABORT,AX_MESOUT,LOUTALL_CON
EXTERNDEF CRLF:BYTE
.DATA
.CODE ROOT_TEXT
externdef _cancel_terminate:proc
externdef _critical_error:proc
externd... |
programs/oeis/239/A239050.asm | karttu/loda | 0 | 53715 | <gh_stars>0
; A239050: a(n) = 4*sigma(n).
; 4,12,16,28,24,48,32,60,52,72,48,112,56,96,96,124,72,156,80,168,128,144,96,240,124,168,160,224,120,288,128,252,192,216,192,364,152,240,224,360,168,384,176,336,312,288,192,496,228,372,288,392,216,480,288,480,320,360,240,672,248,384,416,508,336,576,272,504,384,576,288,780,296,45... |
asmtris.asm | RoGuBa/ASMTRIS | 2 | 53716 | <gh_stars>1-10
[bits 16]
section .text
mov es, [off_screen]
;timer mem adress
mov ax, 0x0
mov fs, ax
start:
call init
call drawBorder
call drawBackground
call debugDelay
call spawnTetromino
mov ax, [move_n_def]
mov [move_n], ax
call gameLoop
jmp end
init:
;enter video mode 13h (clear screen)
mov... |
oeis/006/A006009.asm | neoneye/loda-programs | 11 | 53717 | ; A006009: Number of paraffins.
; 4,16,48,108,216,384,640,1000,1500,2160,3024,4116,5488,7168,9216,11664,14580,18000,22000,26620,31944,38016,44928,52728,61516,71344,82320,94500,108000,122880,139264,157216,176868,198288,221616,246924,274360,304000,336000,370440,407484,447216,489808,535348,584016,635904,691200,750000,8125... |
mdef/PhaserX-MZ700/phaserx.asm | bintracker/bintracker | 129 | 53718 | ;PhaserX
;by utz 09'2016 * www.irrlichtproject.de
;Sharp MZ-700 version by MooZ 2018 * blog.blockos.org
;*******************************************************************************
;; include "equates.h"
;; BORDER .equ $14
;; org #8000
di
out ($e0), a
out ($e3), a
ld hl,$e008 ;sound on
... |
src/asm_routines/debug.asm | Dentosal/rust_os | 28 | 53719 | <reponame>Dentosal/rust_os
; Debug and system panic routines
[BITS 64]
global panic_stop
section .text
panic_stop:
mov rax, 0x4f214f214f214f21 ; !!!!
mov [0xb8000], rax
cli
hlt
jmp $
|
programs/oeis/158/A158670.asm | karttu/loda | 1 | 53720 | <reponame>karttu/loda
; A158670: a(n) = 60*n^2 - 1.
; 59,239,539,959,1499,2159,2939,3839,4859,5999,7259,8639,10139,11759,13499,15359,17339,19439,21659,23999,26459,29039,31739,34559,37499,40559,43739,47039,50459,53999,57659,61439,65339,69359,73499,77759,82139,86639,91259,95999,100859,105839,110939,116159,121499,126959,1... |
oeis/142/A142560.asm | neoneye/loda-programs | 11 | 53722 | <gh_stars>10-100
; A142560: Primes congruent to 30 mod 53.
; Submitted by <NAME>
; 83,401,613,719,1249,1567,2203,2309,2521,3581,3793,4111,4217,5171,5701,5807,6337,6761,7079,7927,8563,8669,9199,9623,9941,10259,10789,11213,11743,12379,12697,13121,13757,14923,15241,15559,15877,16301,16619,16831,16937,17467,17573,17891,191... |
MASM_Practice/45_Condition_Loop.asm | TuringGu/RELearning | 0 | 53724 | <gh_stars>0
.586
.MODEL flat,stdcall
option casemap:none
include windows.inc
include user32.inc
include kernel32.inc
include msvcrt.inc
includelib user32.lib
includelib kernel32.lib
includelib msvcrt.lib
.data
.code
main PROC
;loop
mov eax,0
mov ecx,5
lp01:
inc eax
loop lp01
;loopz
mov eax,1
mov ecx,5
lpe... |
programs/matrix_reloaded.asm | lucaspiller/dcpu16-ide | 1 | 53725 | :init_glyphs
set [0x8180+i], [code+i]
add i, 1
ifg 46*2, i
set pc, init_glyphs
set z, 0x1234 ; rand_seed
set y, z ; cur_rand
set pc, main_loop
:next_rand
mul y, 10061
add y, 1
set pc, pop
:main_loop
set i, 0
set x, y
set y, z
set a, 0x8000
:next_row1
set j, 0
:next_char1
jsr next_rand
ife [a], 0
set pc,... |
programs/oeis/052/A052956.asm | karttu/loda | 0 | 53726 | <gh_stars>0
; A052956: a(n) = 2^n + Fibonacci(n+1).
; 2,3,6,11,21,40,77,149,290,567,1113,2192,4329,8569,16994,33755,67133,133656,266325,531053,1059522,2114863,4222961,8434976,16852241,33675825,67305282,134535539,268949685,537702952,1075088093,2149661957,4298491874,8595637479,17189096649,34374668720,68743634553,13747804... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_insert_block_callee.asm | jpoikela/z88dk | 640 | 53727 |
; void *b_array_insert_block(b_array_t *a, size_t idx, size_t n)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_insert_block_callee
EXTERN asm_b_array_insert_block
b_array_insert_block_callee:
pop hl
pop de
pop bc
ex (sp),hl
jp asm_b_array_insert_block
; SDCC bridge for Classic
IF _... |
programs/oeis/126/A126328.asm | karttu/loda | 0 | 53729 | ; A126328: Rounded value of n!/(n(n+1)/2); A000142(n)/A000217(n).
; 1,1,1,2,8,34,180,1120,8064,65978,604800,6141046,68428800,830269440,10897286400,153844043294,2324754432000,37440781904842,640237370572800,11585247657984000
mov $3,$0
fac $3
mov $5,$0
lpb $0,1
mov $0,$2
mov $1,$3
mul $1,2
mov $4,$5
add $4,2
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.