max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
programs/oeis/090/A090328.asm | neoneye/loda | 22 | 50071 | ; A090328: Number of rules of a context-free grammar in Chomsky normal form that generates all permutations of n symbols.
; 1,4,12,35,103,306,914,2737,8205,24608,73816,221439,664307,1992910,5978718,17936141,53808409,161425212,484275620,1452826843,4358480511,13075441514,39226324522,117678973545,353036920613,105911076181... |
dino/lcs/123p/8.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 50072 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
001032 move.w ($8,A0), D1
001036 move.w ($10,A0), D2 [123p+ 8]
0016FA move.w ($8,A6), D0
0016FE move.w ($c,A6), D1 [123p+ 8, enemy+ ... |
programs/oeis/047/A047878.asm | jmorken/loda | 1 | 50074 | ; A047878: a(n) is the least number of knight's moves from corner (0,0) to n-th diagonal of unbounded chessboard.
; 0,3,2,1,2,3,2,3,4,3,4,5,4,5,6,5,6,7,6,7,8,7,8,9,8,9,10,9,10,11,10,11,12,11,12,13,12,13,14,13,14,15,14,15,16,15,16,17,16,17,18,17,18,19,18,19,20,19,20,21,20,21,22,21,22,23,22,23,24,23,24,25
mov $7,$0
mov ... |
examples/mode7_ii.asm | alastairhm/beebasm | 1 | 50076 | <reponame>alastairhm/beebasm
\ Write characters to Mode 7 screen
\ Using Indirect Indexing
\ Using BeebASM assembler
oswrch = &FFEE
screen = &7C00+80
addr = &70
ORG &2000
.start
LDA #7 \ Change to Mode 7
JSR screenmode
LDA #LO(screen)
STA addr
LDA #HI(screen)
STA addr+1
LDY #39
... |
Userland/SampleCodeModule/asm/backReg.asm | salCas276/Kernel-CompArch | 0 | 50077 | <gh_stars>0
GLOBAL regis
GLOBAL opcode
extern printRegs
%macro pushState 0
push rsp
push rax
push rbx
push rcx
push rdx
push rbp
push rdi
push rsi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
%endmacro
%macro popState 0
pop r15
pop r14
pop r13
p... |
kernel/src/smp/smp.asm | inonitz/bruhOS | 2 | 50078 | %define CODE_SEG 0x08
%define DATA_SEG 0x10
%define STACK_SIZE 0x400
align 0x1000
section .text
[bits 16]
ApStart16:
cli
; Get the Trampoline Address
mov ecx, cs
shl ecx, 4
; Setup Temporary Stack
mov esp, ecx
add esp, SMP_STACK + STACK_SIZE
mov ebp, esp
; 32 bi... |
programs/oeis/086/A086520.asm | karttu/loda | 0 | 50079 | ; A086520: Number of integers strictly greater than (n-sqrt(n))/2 and strictly less than (n+sqrt(n))/2.
; 0,0,1,2,1,2,3,2,3,2,3,4,3,4,3,4,3,4,5,4,5,4,5,4,5,4,5,6,5,6,5,6,5,6,5,6,5,6,7,6,7,6,7,6,7,6,7,6,7,6,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,... |
Lista 2/10.asm | AtilaAssuncao/MIPS-AP2 | 0 | 50080 | .data
peso: .ascii "O peso ideal e igual a: \n"
altura: .float 1.78
hbase: .float 72.7
mbase: .float 62.1
h: .float 1.0
m: .float 0.0
.text
lwc1 $f1, altura
lwc1 $f2, hbase
lwc1 $f3, mbase
lwc1 $f4, h
lwc1 $f5, m
bge $f4, $f5, homem
beqz $f5, mulher
# Inst rucao para finalizar o progr... |
hellom.asm | Kantaaa/is105-lab3 | 0 | 50081 | global start
section .text
start:
mov rax, 0x2000004 ; write
mov rdi, 1 ; stdout
mov rsi, msg
mov rdx, msg.len
syscall
mov rax, 0x2000001 ; exit
mov rdi, 0
syscall
section .data
msg: db "Hello, world!", 10
.len: equ $ - msg
|
04/fill/Fill.asm | kentakuramochi/nand2tetris_study | 0 | 50082 | // 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 screen,
// i.e. writes "black" in ... |
oeis/127/A127982.asm | neoneye/loda-programs | 11 | 50083 | <filename>oeis/127/A127982.asm
; A127982: Numbers of the form (n - 1/3)2^(n) - n/2 + 1/4 + (-1)^n/12.
; 1,6,20,57,147,360,850,1959,4433,9894,21840,47781,103759,223908,480590,1026723,2184525,4631202,9786700,20621985,43341131,90876576,190141770,397060767,827675977,1722460830,3579139400,7426714269,15390299463,31854340764,... |
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_ix/tshr_visit_wc_pix.asm | jpoikela/z88dk | 640 | 50084 | ; void tshr_visit_wc_pix(struct r_Rect8 *r, void *function)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_visit_wc_pix
EXTERN l0_tshr_visit_wc_pix_callee
_tshr_visit_wc_pix:
pop af
pop bc
pop de
push de
push bc
push af
jp l0_tshr_visit_wc_pix_callee
|
programs/oeis/096/A096446.asm | neoneye/loda | 22 | 50085 | <filename>programs/oeis/096/A096446.asm
; A096446: Number of reduced primitive positive definite binary quadratic forms of determinant n.
; 1,1,2,1,2,2,2,3,2,2,4,2
mov $2,$0
lpb $0
mov $0,$2
div $0,2
add $1,1
bin $2,2
add $3,1
div $0,$3
lpb $1,2
sub $0,$3
add $1,$0
dif $1,6
div $2,2
m... |
oeis/134/A134288.asm | neoneye/loda-programs | 11 | 50086 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A134288: a(n) = binomial(n+7,7)*binomial(n+7,6)/(n+7).
; 1,28,336,2520,13860,60984,226512,736164,2147145,5725720,14158144,32821152,71954064,150233760,300467520,578399976,1075994073,1941008916,3405278800,5824819000,9735768900,15931258200,25565576400,40293571500,624550358... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1345.asm | ljhsiun2/medusa | 9 | 50087 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x174e8, %rbx
nop
nop
nop
xor $51598, %r14
mov (%rbx), %r9w
sub %rdx, %rdx
lea addresses_A_ht+0x19192, %rax
clflush (%rax)
nop
nop
nop
nop
cmp %r13, %r1... |
libmikeos/src.os/os_print_string.asm | mynameispyo/InpyoOS | 0 | 50088 |
; @@@ void mikeos_print_string(char *message);
%include "os_vector.inc"
section .text
use16
global _mikeos_print_string
_mikeos_print_string:
mov bx, sp
push si
mov si, [ss:bx + 2]
mov bx, os_print_string
call bx
pop si
ret
|
data/mapObjects/CeruleanCaveB1F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 50089 | CeruleanCaveB1F_Object:
db $7d ; border block
db 1 ; warps
warp 3, 6, 8, CERULEAN_CAVE_1F
db 0 ; signs
db 3 ; objects
object SPRITE_SLOWBRO, 27, 13, STAY, DOWN, 1, MEWTWO, 70
object SPRITE_BALL, 16, 9, STAY, NONE, 2, ULTRA_BALL
object SPRITE_BALL, 18, 1, STAY, NONE, 3, MAX_REVIVE
; warp-to
warp_to 3, 6, C... |
oeis/327/A327724.asm | neoneye/loda-programs | 11 | 50090 | <gh_stars>10-100
; A327724: Product of A003059 and A071797.
; Submitted by <NAME>
; 1,2,4,6,3,6,9,12,15,4,8,12,16,20,24,28,5,10,15,20,25,30,35,40,45,6,12,18,24,30,36,42,48,54,60,66,7,14,21,28,35,42,49,56,63,70,77,84,91,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,9,18,27,36,45,54
add $0,1
lpb $0
mov $2,$0
sub $0... |
45/runtime/rt/prnval.asm | minblock/msdos | 0 | 50091 | TITLE PRNVAL - Print values
page 56,132
;***
; PRNVAL - Print values
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
; This module contains B$P<term><type> and B$PEOS interfaces.
;
; The PRINT, WRITE, and LPRINT statements have a large number of
; runtime calls that can be generated, based on the list of
... |
boot/gdt.asm | AppleFlavored/OwOS | 1 | 50093 | <filename>boot/gdt.asm
gdt:
dw .size - 1 + 8
dd .start - 8
.start:
dw 0xffff
dw 0x0000
db 0x0
db 10011010b
db 11001111b
db 0x0
dw 0xffff
dw 0x0000
db 0x0
db 10010010b
db 11001111b
db 0x0
.end:
.size: equ .end - .start |
external/source/shellcode/windows/x86/src/kernel/stager_sysenter_hook.asm | OsmanDere/metasploit-framework | 26,932 | 50094 | ;-----------------------------------------------------------------------------;
; Author: <NAME> (stephen_fewer[at]harmonysecurity[dot]com)
; Compatible: Windows 7, 2008, Vista (Possibly 2003, XP)
; Size: 202 bytes
; Build: >build.py stager_sysenter_hook
;
; Recommended Reading: Kernel-mode Payloads on Windows, 2... |
programs/oeis/058/A058034.asm | karttu/loda | 1 | 50095 | ; A058034: Number of numbers whose cube root rounds to n.
; 1,3,12,27,49,75,108,147,193,243,300,363,433,507,588,675,769,867,972,1083,1201,1323,1452,1587,1729,1875,2028,2187,2353,2523,2700,2883,3073,3267,3468,3675,3889,4107,4332,4563,4801,5043,5292,5547,5809,6075,6348,6627,6913,7203,7500,7803,8113,8427,8748,9075,9409,97... |
oeis/168/A168244.asm | neoneye/loda-programs | 11 | 50096 | <filename>oeis/168/A168244.asm<gh_stars>10-100
; A168244: a(n) = 1 + 3*n - 2*n^2.
; 1,2,-1,-8,-19,-34,-53,-76,-103,-134,-169,-208,-251,-298,-349,-404,-463,-526,-593,-664,-739,-818,-901,-988,-1079,-1174,-1273,-1376,-1483,-1594,-1709,-1828,-1951,-2078,-2209,-2344,-2483,-2626,-2773,-2924,-3079,-3238,-3401,-3568,-3739,-391... |
oeis/189/A189669.asm | neoneye/loda-programs | 11 | 50097 | <gh_stars>10-100
; A189669: Positions of 0 in A189668; complement of A189679.
; Submitted by <NAME>(s2)
; 1,3,5,6,7,9,11,12,13,15,16,18,19,21,23,24,25,27,29,30,31,33,34,36,37,39,41,42,43,45,46,48,50,51,52,54,55,57,59,60,61,63,65,66,67,69,70,72,73,75,77,78,79,81,83,84,85,87,88,90,91,93,95,96,97,99,100,102,104,105,106,10... |
src/shaders/h264/ildb/load_Top_UV_8x2.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 50098 | /*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Module Name: Load_Top_UV_8X2.Asm
//
// Load UV 8X2 Bl... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_129.asm | ljhsiun2/medusa | 9 | 50099 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x66f5, %r10
nop
nop
nop
nop
cmp $37334, %r12
and $0xffffffffffffffc0, %r10
vmovntdqa (%r10), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $1, %xmm1, %rbx
nop
add %rsi, %rsi
lea ... |
source/Testing Code/mipstest_extloop.asm | yaoyue123/CS_Assign | 0 | 50100 | <gh_stars>0
# mipstest_ext.asm
# 2017202<EMAIL> 17 March 2018
#
# Test the MIPS processor in simulation
# add, sub, and, or, slt, addi, lw, sw, beq, j have been done in mipstest.asm
# we add sll, lui, slti, bne, jal, ori, addu, subu, jr, andi, srl and jalr instruction
# If successful, it should write the value 7 to ad... |
programs/oeis/304/A304515.asm | neoneye/loda | 22 | 50101 | <filename>programs/oeis/304/A304515.asm
; A304515: a(n) = 159*2^n - 222 (n>=1).
; 96,414,1050,2322,4866,9954,20130,40482,81186,162594,325410,651042,1302306,2604834,5209890,10420002,20840226,41680674,83361570,166723362,333446946,666894114,1333788450,2667577122,5335154466,10670309154,21340618530,42681237282,85362474786,1... |
oeis/001/A001285.asm | neoneye/loda-programs | 11 | 50102 | ; A001285: Thue-Morse sequence: let A_k denote the first 2^k terms; then A_0 = 1 and for k >= 0, A_{k+1} = A_k B_k, where B_k is obtained from A_k by interchanging 1's and 2's.
; Submitted by <NAME>
; 1,2,2,1,2,1,1,2,2,1,1,2,1,2,2,1,2,1,1,2,1,2,2,1,1,2,2,1,2,1,1,2,2,1,1,2,1,2,2,1,1,2,2,1,2,1,1,2,1,2,2,1,2,1,1,2,2,1,1,2... |
daviddos_loader.asm | DavidB420/daviddos-1 | 1 | 50103 | <reponame>DavidB420/daviddos-1
;DavidDOS bootloader Made by <NAME>
org 7c00h
mov ah,0eh
mov al,07h
int 10h
mov al,08h
int 10h
mov al,20h
int 10h
mov al,08h
int 10h
pusha
mov ah, 00h
mov al, 03h
int 10h
popa
mov ah, 02h
mov al, 10
mov ch, 0
mov cl, 2
mov dh, 0
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1062.asm | ljhsiun2/medusa | 9 | 50104 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x24b1, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
and $39785, %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
movups %xmm5, (%rdx)
nop
nop
nop
nop
nop
xor %r10, %r10
lea addr... |
oeis/330/A330055.asm | neoneye/loda-programs | 11 | 50105 | <reponame>neoneye/loda-programs
; A330055: Number of non-isomorphic set-systems of weight n with no singletons or endpoints.
; Submitted by <NAME>(s1)
; 1,0,0,0,0,0,1,1,3,5,16
mov $5,$0
mov $6,2
lpb $6
mov $0,$5
sub $6,1
add $0,$6
sub $0,1
mov $1,1
mov $2,1
mov $3,$0
mul $3,4
lpb $3
mul $1,$3
... |
money-run/money-run.asm | avik-das/nesdev | 4 | 50107 | <gh_stars>1-10
; bg-ophis.asm - <NAME>
;
; A very simple demo, based on the NES101 tutorial by <NAME>.
; This demo can be assembled using Ophis, and runs on FCEUX.
;
; This demo serves two purposes. Firstly, my goal is to learn NES
; development, which I can only achieve by creating a program.
; Secondly, the entirety... |
oeis/132/A132685.asm | neoneye/loda-programs | 11 | 50108 | ; A132685: a(n) = binomial(2^n + 2*n, n).
; 1,4,28,364,10626,850668,218618940,198773423848,669741609663270,8493008777332033900,405943250253048290447028,72938914603968404495709630360,49143490709866058459392200362497820,124038163263054554787011844612484310516568,1173394533849841428791393732378613145294136295800,416696881... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_10_273.asm | ljhsiun2/medusa | 9 | 50109 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_10_273.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x71cf, %rsi
add %r11, %r11
movw $0x6162, (%rsi)
nop
nop
nop
nop
sub %rdx, %rdx
lea addre... |
oeis/052/A052504.asm | neoneye/loda-programs | 11 | 50110 | ; A052504: Number of permutations sigma of [5n] without fixed points such that sigma^5 = Id.
; Submitted by <NAME>
; 1,24,72576,1743565824,162193467211776,41363226782215962624,23578031983305871878782976,26242915470187034742010543079424,51804144968120491069562620291816882176,168779147605615794796420686413626405734580224... |
programs/oeis/228/A228826.asm | jmorken/loda | 1 | 50111 | ; A228826: Delayed continued fraction of sqrt(2).
; 2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,1,2,-1,-2,... |
src/test/ref/struct-directives.asm | jbrandwood/kickc | 2 | 50112 | <gh_stars>1-10
// Test that struct variable and members can both have type directives
// Commodore 64 PRG executable file
.file [name="struct-directives.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Da... |
programs/oeis/080/A080343.asm | karttu/loda | 0 | 50113 | ; A080343: a(n) = round(sqrt(2*n)) - floor(sqrt(2*n)).
; 0,0,0,0,1,0,0,1,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0... |
oeis/034/A034325.asm | neoneye/loda-programs | 11 | 50114 | <reponame>neoneye/loda-programs
; A034325: a(n) is the n-th quintic factorial number divided by 5.
; 1,10,150,3000,75000,2250000,78750000,3150000000,141750000000,7087500000000,389812500000000,23388750000000000,1520268750000000000,106418812500000000000,7981410937500000000000,638512875000000000000000,54273594375000000000... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2398.asm | ljhsiun2/medusa | 9 | 50115 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1615e, %rbx
nop
sub $2172, %r8
vmovups (%rbx), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %r13
xor %rbx, %rbx
lea addresses_UC_ht+0xca6e, %rsi
lea addresses_WC_ht+0x1afde, %... |
data/mapHeaders/VermilionPokecenter.asm | AmateurPanda92/pokemon-rby-dx | 9 | 50116 | VermilionPokecenter_h:
db POKECENTER ; tileset
db VERMILION_POKECENTER_HEIGHT, VERMILION_POKECENTER_WIDTH ; dimensions (y, x)
dw VermilionPokecenter_Blocks ; blocks
dw VermilionPokecenter_TextPointers ; texts
dw VermilionPokecenter_Script ; scripts
db 0 ; connections
dw VermilionPokecenter_Object ; objects
|
test.asm | wastevensv/w832 | 1 | 50119 | <reponame>wastevensv/w832<filename>test.asm
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x18
0x19
0x1A
0x1B
0x1C
0x1D
0x1E
0x1F
|
oeis/347/A347611.asm | neoneye/loda-programs | 11 | 50120 | ; A347611: a(n) is the n-th n-factorial number: a(n) = n!_n.
; Submitted by <NAME>
; 1,1,3,52,8925,22661496,1131162092095,1375009641495014400,48378633136349277767794425,57001313848230245122464621625840000,2552524038347870310755413660544832496799359491,4859161865915056755501262525796512204608930674134393036800,434846226... |
OS/McOS.asm | davidov541/MiniC | 0 | 50121 | //InterruptHandlervoid: funcdecl 0, ,
InterruptHandlervoid:// Words: 0
addi $sp, 15
// Words: 1
move $sp, $rr
// Words: 2
addi $0, -2
// Words: 3
sdw $ra, $sp, $rr
// Words: 4
addi $rr, -2
// Words: 5
sdw $fp, $sp, $rr
// Words: 6
move $fp, $sp
// Words: 7
addi $rr, -1
// Words: 8
// Words: 9
ldi $k... |
oeis/010/A010215.asm | neoneye/loda-programs | 11 | 50122 | ; A010215: Continued fraction for sqrt(167).
; Submitted by <NAME>(s3)
; 12,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1
gcd $0,262156
mul $0,42
mod $0,13
mov $1,$0
div $1,5
mul $1,7
add $0,$1
sub $0,2
|
oeis/099/A099603.asm | neoneye/loda-programs | 11 | 50125 | ; A099603: Row sums of triangle A099602, in which row n equals the inverse binomial transform of column n of the triangle of trinomial coefficients (A027907).
; Submitted by <NAME>(s1)
; 1,2,4,12,20,64,104,336,544,1760,2848,9216,14912,48256,78080,252672,408832,1323008,2140672,6927360,11208704,36272128,58689536,18992332... |
lib/sse/zuc_x4_sse.asm | jkivilin/intel-ipsec-mb | 1 | 50126 | <filename>lib/sse/zuc_x4_sse.asm
;;
;; Copyright (c) 2009-2022, 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,
;; ... |
shinagawa.asm | hwreverse/PC-G850V | 7 | 50127 | <reponame>hwreverse/PC-G850V
10 ORG 100H
20 JP MAIN
30GPF EQU 0BFD0H
40WAITK EQU 0BFCDH
50RPTCHR EQU 0BFEEH
60MAIN: CALL CLS
60 LD HL, L0
70 LD B, 144
80 LD DE, 0000H
90 CALL GPF
100 LD HL, L1
110 LD B, 144
120 LD DE, 0100H
130 CALL GPF
140 LD HL, L2
150 LD B, 144
160 LD DE, 0200H
170 CALL GPF
180 LD HL, L3
190 LD B, 1... |
k0/src/arch/x64/_kavl.asm | nebulaeonline/nebulae | 29 | 50128 | ; Copyright (c) 2003-2018 RCH3 (<EMAIL>)
; Copyright (c) 2019 Nebulae Foundation, LLC. 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 c... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1540.asm | ljhsiun2/medusa | 9 | 50129 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x14b0e, %rbx
nop
nop
nop
nop
xor %r15, %r15
movups (%rbx), %xmm2
vpextrq $1, %xmm2, %r13
sub %rax, %rax
lea addresses_UC_ht+0x1ac7a, %rdx
nop
dec %rax
mov $... |
src/asm/fizzbuzz8080.asm | Sausty/UltimateFizzbuzzDatabase | 1 | 50130 | <filename>src/asm/fizzbuzz8080.asm
;; CP/M FizzBuzz in 8080 assembly
bdos: equ 5 ; CP/M calls
puts: equ 9
max: equ 100 ; Amount of lines to print
org 100h
mvi d,max
lxi b,0305h ; Fizz and buzz counters
line: lxi h,num + 2 ; Increment the ASCII number
incn: inr m
mov a,m
cpi '9' + 1
jnz print
mvi m,'0'... |
src/add.asm | drdanick/apricos-examples | 0 | 50133 | ; Simple ADD demonstration
;
; This program will push the values 0xA0 and 0x0A into
; the stack, then pop both values into the second accumulator
; with the ADD operation. The second accumulator will then hold 0xAA.
;
ASET 0
LAR 0xA0 ; Load value of 0xA0 into $a0...
SPUSH ; ...and push it into the stack
LAR 0x0A... |
source/3dasm/instance.asm | arbruijn/d2gl | 0 | 50134 | ; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
; IN USING, DIS... |
oeis/107/A107916.asm | neoneye/loda-programs | 11 | 50136 | ; A107916: a(n) = binomial(n+3,2)*binomial(n+4,3)*binomial(n+5,5)/12.
; Submitted by <NAME>
; 1,30,350,2450,12348,49392,166320,490050,1297725,3149146,7105098,15071420,30321200,58262400,107535744,191548044,330569505,554550150,906840550,1449035742,2267198780,3479762000,5247450000,7785618750,11379460365,16402583106,233395... |
library/02_functions_batch1/unknown_10008a00.asm | SamantazFox/dds140-reverse-engineering | 1 | 50137 | <reponame>SamantazFox/dds140-reverse-engineering
10008a00: 8b 4c 24 04 mov ecx,DWORD PTR [esp+0x4]
10008a04: 66 81 39 4d 5a cmp WORD PTR [ecx],0x5a4d
10008a09: 74 03 je 0x10008a0e
10008a0b: 33 c0 xor eax,eax
10008a0d: c3 ret
10008a0e: ... |
rt-thread/libcpu/v850/70f34/context_iar.asm | cedar-renjun/air-conditioning-assistant | 10 | 50138 | #include "macdefs.inc"
name OS_Core
COMMON INTVEC:CODE
;********************************************************************
;
; function:
; description: Trap 0x10 vector used for context switch
; Right now, all TRAPs to $1x are trated the same way
;
org 50h
jr OSCtxSW
... |
mdef/wiz4v/wiz4v.asm | bintracker/bintracker | 129 | 50139 | <gh_stars>100-1000
;;; Simple test player for Exidy Sorcerer 4-voice music extension
;;; by utz 06'2020
init
di
ld (oldsp),sp
readseq0
ld hl,0
ld (ch1div),hl
ld (ch2div),hl
ld (ch3div),hl
ld (ch4div),hl
ld a,.(quotient (symbol-ref 'wavetab) 256)
ld (wave1),a
ld (wave2),a
l... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_395.asm | ljhsiun2/medusa | 9 | 50142 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7bc, %r14
nop
nop
nop
nop
sub %r15, %r15
mov $0x6162636465666768, %rbx
movq %rbx, (%r14)
nop
nop
xor $61107, %rbx
lea addresses_WC_ht+0x51bc, %r13
nop
nop
nop
and $... |
programs/oeis/018/A018210.asm | neoneye/loda | 22 | 50143 | ; A018210: Alkane (or paraffin) numbers l(9,n).
; 1,4,16,44,110,236,472,868,1519,2520,4032,6216,9324,13608,19440,27192,37389,50556,67408,88660,115258,148148,188552,237692,297115,368368,453376,554064,672792,811920,974304,1162800,1380825,1631796
lpb $0
mov $2,$0
sub $0,1
seq $2,5995 ; Alkane (or paraffin) numbers ... |
programs/oeis/261/A261694.asm | neoneye/loda | 22 | 50144 | <reponame>neoneye/loda
; A261694: a(n) = Fibonacci(n) mod 21.
; 0,1,1,2,3,5,8,13,0,13,13,5,18,2,20,1,0,1,1,2,3,5,8,13,0,13,13,5,18,2,20,1,0,1,1,2,3,5,8,13,0,13,13,5,18,2,20,1,0,1,1,2,3,5,8,13,0,13,13,5,18,2,20,1,0,1,1,2,3,5,8,13,0,13,13,5,18,2,20,1,0,1,1,2,3,5,8,13,0,13,13,5,18,2,20,1,0,1,1,2
mod $0,16
seq $0,45 ; Fib... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1862.asm | ljhsiun2/medusa | 9 | 50145 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x40c3, %r8
nop
nop
nop
nop
sub %rcx, %rcx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
vmovups %ymm6, (%r8)
nop
nop
nop
xor %rbp, %rbp
lea addresses_normal_ht+0x5af3, %rdx
cl... |
VSP_Fixed_DoubleBuffered_25Rows_Coarse_Horizontal_Scrolling.asm | chris73it/C64_Scrolling_PAL | 9 | 50146 | #import "helpers.asm"
.label border = $d020
.label background = $d021
.label cia1_interrupt_control_register = $dc0d
.label cia2_interrupt_control_register = $dd0d
// Note: the '-2' is required because stabilize_irq() takes 2 raster
// lines to synchronize the raster. More precisely, it _always_ ends
// af... |
oeis/213/A213858.asm | neoneye/loda-programs | 11 | 50149 | <filename>oeis/213/A213858.asm
; A213858: Least m such that n! <= 4^m.
; Submitted by <NAME>(s4)
; 0,1,2,3,4,5,7,8,10,11,13,15,17,19,21,23,25,27,29,31,33,35,38,40,42,45,47,49,52,54,57,59,62,64,67,70,72,75,77,80,83,85,88,91,94,96,99,102,105,108,110,113,116,119,122,125,128,131,134,137,140,143,145,148,152,155,158,161,164,... |
_build/dispatcher/jmp_ippsRSA_MB_Verify_PKCS1v15_rmf_49dcae2e.asm | zyktrcn/ippcp | 1 | 50150 | <reponame>zyktrcn/ippcp
extern m7_ippsRSA_MB_Verify_PKCS1v15_rmf:function
extern n8_ippsRSA_MB_Verify_PKCS1v15_rmf:function
extern y8_ippsRSA_MB_Verify_PKCS1v15_rmf:function
extern e9_ippsRSA_MB_Verify_PKCS1v15_rmf:function
extern l9_ippsRSA_MB_Verify_PKCS1v15_rmf:function
extern n0_ippsRSA_MB_Verify_PKCS1v15_rmf:funct... |
assemblyPrograms/game.asm | ThatCoolCoder/brainf-vm | 0 | 50151 | section d
; Runtime vars (define before constants because they're used more so should be at start of memory)
i temp1
i temp2
i input
i frame_count 0
i enemy_move_counter 0
i playing 1
i died 0
i player_pos_x 30
i player_pos_y 30
i enemy_pos_x 5
i enemy_pos_y 5
i player_offset_x
i player_offset_y
; Constants
i false 0
... |
PORTS/HECTOR/octode2k16/music.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 50152 | <reponame>bushy555/ZX-Spectrum-1-Bit-Routines<filename>PORTS/HECTOR/octode2k16/music.asm
;sequence
dw ptn8
dw ptn8
dw ptn9
dw ptna
loop
dw ptn1
dw ptn1
dw ptn2
dw ptn2
dw ptn1
dw ptn3
dw ptn4
dw ptn4
dw ptn5
dw ptn5
dw ptn6
dw ptn6
dw ptnd
dw ptnd
dw ptnb
dw ptne
dw 0
ptn1
... |
P6/P6Judger - 100 testpoints/testpoint/testpoint28.asm | flyinglandlord/BUAA-CO-2021 | 5 | 50154 | ori $1, $0, 11
ori $2, $0, 7
ori $3, $0, 7
ori $4, $0, 15
sw $4, 0($0)
sw $2, 4($0)
sw $1, 8($0)
sw $3, 12($0)
sw $4, 16($0)
sw $4, 20($0)
sw $1, 24($0)
sw $2, 28($0)
sw $2, 32($0)
sw $1, 36($0)
sw $4, 40($0)
sw $2, 44($0)
sw $2, 48($0)
sw $3, 52($0)
sw $3, 56($0)
sw $2, 60($0)
sw $3, 64($0)
sw $2, 68($0)
sw $2, 72($0)... |
test/x86.asm | fluxcontrol/sas | 0 | 50155 | nop
hlt
db 41h
dw 6477h
dd 44444444h
sahf
lahf
clc
cld
cli
stc
std
sti
cmpsb
cmpsw
cmpsd
lodsb
lodsw
lodsd
movsb
movsw
movsd
scasb
scasw
scasd
stosb
stosw
stosd
rep
repz
repe
repnz
repne
loop 4
loopz 4
loopnz 4
loope 4
loopne 4
push edx
pop ecx
pusha
pushad
popa
popad
pushf
pushfd
popf
popfd
aaa
aas
aam
aad
daa
das
cbw... |
engine/battle/scroll_draw_trainer_pic.asm | opiter09/ASM-Machina | 1 | 50156 | <reponame>opiter09/ASM-Machina
_ScrollTrainerPicAfterBattle:
; Load the enemy trainer's pic and scrolls it into
; the screen from the right.
xor a
ld [wEnemyMonSpecies2], a
ld b, SET_PAL_BATTLE
call RunPaletteCommand
callfar _LoadTrainerPic
hlcoord 19, 0
ld c, $0
.scrollLoop
inc c
ld a, c
cp 7
ret z
ld d, $... |
libsrc/games/spectrum/bit_close_ei.asm | grancier/z180 | 0 | 50157 | <gh_stars>0
; $Id: bit_close_ei.asm,v 1.6 2016/06/11 20:52:25 dom Exp $
;
; ZX Spectrum 1 bit sound functions
;
; Close sound and restore interrupts
;
; <NAME> - 28/9/2001
;
SECTION code_clib
PUBLIC bit_close_ei
EXTERN __bit_irqstatus
.bit_close_ei
push hl
ld hl,(__bit_irqstatus)
ex (sp),hl
pop af... |
num.asm | OrangeTide/dos-stars | 1 | 50158 | ; num.asm - a few ways to print numbers
; Copyright (C) 2020 by <NAME> <<EMAIL>>
; the BSD Zero Clause license
;
cpu 286
bits 16
org 100h
section .text
start:
mov al, 89
call printbyte ; can only print 00 to 99
mov ax, 12345
call printword ; prints a 16-bit unsigned WORD
mov ax, 65535
call printword ;
... |
programs/oeis/298/A298720.asm | karttu/loda | 0 | 50159 | ; A298720: EBCDIC codes for lower case letters.
; 129,130,131,132,133,134,135,136,137,145,146,147,148,149,150,151,152,153,162,163,164,165,166,167,168,169
mov $3,$0
trn $0,8
lpb $0,1
sub $0,2
trn $0,7
add $1,8
mov $2,1
lpe
sub $1,$2
lpb $3,1
add $1,1
sub $3,1
lpe
add $1,129
|
src/process/switch.asm | SericaLaw/sericaOS | 0 | 50160 | .equ XLENB, 4
.macro Load reg, mem
lw \reg, \mem
.endm
.macro Store reg, mem
sw \reg, \mem
.endm
addi sp, sp, (-XLENB*14)
# 将用于保存上下文地址的 content_addr 赋值给 sp
# 然后在 sp 指向的位置保存 callee saved 寄存器。
Store sp, 0(a0)
Store ra, 0*XLENB(sp)
Store s0, 2*XLENB(sp)
Store s1, 3*XLENB(sp)
Stor... |
programs/oeis/071/A071187.asm | karttu/loda | 0 | 50161 | <reponame>karttu/loda
; A071187: Smallest prime factor of number of divisors of n.
; 1,2,2,3,2,2,2,2,3,2,2,2,2,2,2,5,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,7,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2... |
code/Forec/t30.asm | KongoHuster/assembly-exercise | 1 | 50162 | <gh_stars>1-10
;; last edit date: 2016/10/25
;; author: Forec
;; LICENSE
;; Copyright (c) 2015-2017, Forec <<EMAIL>>
;; Permission to use, copy, modify, and/or distribute this code for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in... |
programs/oeis/332/A332917.asm | neoneye/loda | 22 | 50163 | ; A332917: A332916(n)/2^a(n) is the average number of binary strings of length n with Levenshtein distance <= 3 from a uniform randomly sampled binary string of this length.
; 0,1,4,4,6,5,8,8,10,8,12,12,14,13,16,16,18,15,20,20,22,21,24,24,26,24,28,28,30,29,32,32,34,30,36,36,38,37,40,40,42,40,44,44,46,45,48,48,50,47,52,... |
skeleton.asm | tomwisniewskiprv/ASM | 1 | 50164 | <gh_stars>1-10
;asm skeleton v2
;worksheet 1
;exercise 1
%TITLE "SKELETON"
.8086
.MODEL small
MAINSTACK SEGMENT STACK
dw 1024 dup(?)
sptr label word
MAINSTACK ENDS
DATA SEGMENT
DATA ENDS
CODE SEGMENT
assume cs:code , ds:data
MAIN PROC
; Load data segments
mov ax , seg data
mo... |
libsrc/fcntl/zxvgs/read.asm | meesokim/z88dk | 0 | 50165 | <gh_stars>0
;size_t read(int fd, void *ptr, size_t len)
;returns number of written bytes
;
; $Id: read.asm,v 1.2 2015/01/19 01:32:44 pauloscustodio Exp $
;
PUBLIC read
.read
LD IX,2
ADD IX,SP
LD C,(IX+0) ;len
LD B,(IX+1)
LD L,(IX+2) ;ptr
LD H,(IX+3)
LD D,(IX+5) ;fd
RST 8
DEFB $D4 ;exits with BC=bytes read
... |
apps/asmfunc.asm | yoshitsugu/hariboteos_in_rust | 29 | 50166 | <gh_stars>10-100
[BITS 32]
GLOBAL _api_putchar
GLOBAL _api_putstr0
GLOBAL _api_end
GLOBAL _api_openwin
GLOBAL _api_putstrwin
GLOBAL _api_boxfilwin
GLOBAL _api_initmalloc
GLOBAL _api_malloc
GLOBAL _api_free
GLOBAL _api_point
GLOBAL _api_refreshwin
GLOBAL _api_linewin
GLOBAL _api_closewin
GLO... |
tests/Context/stub.asm | asheraryam/stabilizer | 430 | 50167 | <filename>tests/Context/stub.asm
global _stub
global _stubSize
global _saveState
extern _doStuff
BITS 64
_stub:
lea rax, [rip-7]
sub rsp, 8
mov [rsp], rax
.end
_stubSize:
dq _stub.end - _stub
_saveState:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push r11
push ... |
oeis/188/A188069.asm | neoneye/loda-programs | 11 | 50168 | <reponame>neoneye/loda-programs<filename>oeis/188/A188069.asm
; A188069: Positions of 0 in A188068; complement of A188070.
; 1,4,8,12,15,19,23,27,30,34,38,42,45,49,53,56,60,64,68,71,75,79,83,86,90,94,98,101,105,109,112,116,120,124,127,131,135,139,142,146,150,154,157,161,165,168,172,176,180,183,187,191,195,198,202,206,2... |
oeis/024/A024215.asm | neoneye/loda-programs | 11 | 50169 | <filename>oeis/024/A024215.asm<gh_stars>10-100
; A024215: Sum of squares of first n positive integers congruent to 1 mod 3.
; Submitted by <NAME>(s3.)
; 1,17,66,166,335,591,952,1436,2061,2845,3806,4962,6331,7931,9780,11896,14297,17001,20026,23390,27111,31207,35696,40596,45925,51701,57942,64666,71891,79635,87916,96752,1... |
src/audio/audio.asm | SaffronCR/msx-rpg | 40 | 50170 | <reponame>SaffronCR/msx-rpg
;;
;; sr_init_menu_song function
;; input: nothing
;; output: nothing
;;
_sr_init_menu_song::
;ld hl,#MENU_START
xor a
call PLY_AKG_INIT
ret
;;
;; sr_init_intro_song function
;; input: nothing
;; output: nothing
;;
_sr_init_intro_song::
;ld hl,#INTRO_START
xor a
call PLY_... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1352.asm | ljhsiun2/medusa | 9 | 50171 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x14f4c, %r12
nop
nop
and $40481, %r14
mov $0x6162636465666768, %r13
movq %r13, %xmm6
movups %xmm6, (%r12)
nop
xor $1820, %r9
lea address... |
oeis/301/A301995.asm | neoneye/loda-programs | 11 | 50172 | <filename>oeis/301/A301995.asm
; A301995: Number of nX4 0..1 arrays with every element equal to 1, 2 or 4 horizontally or antidiagonally adjacent elements, with upper left element zero.
; 2,8,26,74,200,530,1394,3656,9578,25082,65672,171938,450146,1178504,3085370,8077610,21147464,55364786,144946898,379475912,993480842,2... |
gfx/pokemon/aggron/anim.asm | Ebernacher90/pokecrystal-allworld | 0 | 50173 | <filename>gfx/pokemon/aggron/anim.asm
frame 1, 12
frame 2, 06
frame 1, 38
frame 2, 06
frame 3, 10
frame 4, 06
endanim |
programs/oeis/038/A038376.asm | jmorken/loda | 1 | 50174 | ; A038376: a(n) = (n-3)*A006918(n)/2.
; 0,0,0,0,1,5,12,28,50,90,140,220,315,455,616,840,1092,1428,1800,2280,2805,3465,4180,5060,6006,7150,8372,9828,11375,13195,15120,17360,19720,22440,25296,28560,31977,35853,39900,44460,49210,54530,60060,66220,72611,79695,87032,95128,103500,112700,122200,132600,143325,155025,167076,180... |
SecondYear/SecondSemester/OS/5/5_1/Lab5_1/Source.asm | arturboyun/University | 0 | 50175 | <gh_stars>0
.586
.MODEL FLAT, C
.DATA
.CODE
Expression PROC C
push ebp
mov ebp, esp
finit
fld qword ptr[ebp+40] ;st(0) = 95
fld qword ptr[ebp+16] ;st(0) = b
fsub st(0), st(1) ;st(0) = b - 95
fld qword ptr[ebp+16] ;st(0) = b
fmul st(0), st(0) ;st(... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_8719_1623.asm | ljhsiun2/medusa | 9 | 50176 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x3ed0, %rdi
add %rax, %rax
mov (%rdi), %r11
xor $2788, %rax
lea addresses_A_ht+0x1b550, %rdx
nop
nop
inc %rdi
movw $0x6162, (%rdx)
nop
nop
and %rdi, %rdi
lea add... |
masm/13_flag.asm | oceanwavechina/assembly | 0 | 50177 | <reponame>oceanwavechina/assembly<filename>masm/13_flag.asm
; 这段代码是演示:
; 统计某个数字在数据中出现的次数
; 1. 比较指令,跳转指令的使用
assume cs:code, ds:data
data segment
db 8,11,8,1,8,5,63,38
data ends
code segment
start:
mov ax, data
mov ds, ax
mov bx, 0 ; ds:bx 指向数据的起始位置
mov ax, 0 ; 初始化累加器
mov cx, 8 ; 计数... |
programs/oeis/174/A174783.asm | jmorken/loda | 1 | 50178 | <reponame>jmorken/loda<gh_stars>1-10
; A174783: Expansion of (1+2x-sqrt(1-4x^2))/(2(1-x^2)*sqrt(1-4x^2)).
; 0,1,1,3,4,9,14,29,49,99,175,351,637,1275,2353,4707,8788,17577,33098,66197,125476,250953,478192,956385,1830270,3660541,7030570,14061141,27088870,54177741,104647630,209295261,405187825,810375651,1571990935,31439818... |
programs/oeis/078/A078941.asm | neoneye/loda | 22 | 50180 | <gh_stars>10-100
; A078941: Flipping burnt pancakes. Maximum number of spatula flips to sort a stack of n pancakes of different sizes, each burnt on one side, so that the smallest ends up on top, ..., the largest at the bottom and each has its burnt side down.
; 1,4,6,8,10,12,14,15,17,18,19,21
mov $2,$0
lpb $0
seq $... |
compiler/examples/i-type-1.asm | stark-dev/dlx-processor | 0 | 50181 | .mode dbg
.text
slli r5,r2,#2
srli r6,r2,#1
srai r7,r3,#2
srai r8,r2,#2
addi r9,r24,#255
addui r10,r3,#1
subi r11,r24,#1
subui r12,r2,#1
andi r13,r3,#255
ori r14,r3,#255
xori r15,r3,#255
|
oeis/344/A344419.asm | neoneye/loda-programs | 11 | 50182 | ; A344419: a(n) = n*a(n-1) + n^(n mod 2), a(0) = 0.
; Submitted by <NAME>(s4)
; 0,1,3,12,49,250,1501,10514,84113,757026,7570261,83272882,999274585,12990569618,181867974653,2728019619810,43648313916961,742021336588354,13356384058590373,253771297113217106,5075425942264342121,106583944787551184562,2344846785326126060365,5... |
oeis/192/A192145.asm | neoneye/loda-programs | 11 | 50183 | <gh_stars>10-100
; A192145: 0-sequence of reduction of pentagonal numbers sequence by x^2 -> x+1.
; Submitted by <NAME>
; 1,1,13,35,105,258,608,1344,2865,5910,11894,23444,45427,86755,163645,305397,564647,1035446,1885050,3409610,6131441,10968416,19528188,34617960,61125685,107540053,188567053,329625719,574558965,99883665... |
oeis/285/A285976.asm | neoneye/loda-programs | 11 | 50184 | <reponame>neoneye/loda-programs
; A285976: Positions of 0 in A285975; complement of A285977.
; Submitted by <NAME>
; 1,4,6,9,11,14,16,18,21,24,26,29,31,34,37,39,41,44,46,49,51,54,56,58,61,64,66,68,71,73,76,78,81,84,86,89,91,94,96,98,101,104,106,109,111,114,117,119,121,124,126,129,131,134,137,139,142,144,147,149,151,154... |
src/test/resources/data/potests/test19.asm | cpcitor/mdlz80optimizer | 36 | 50186 | <filename>src/test/resources/data/potests/test19.asm
; Test case:
ld a,b
sub 4
neg ; <--- this should be optimized
ld (var1),a
end:
jp end
var1:
db 0 |
programs/oeis/010/A010167.asm | neoneye/loda | 22 | 50187 | ; A010167: Continued fraction for sqrt(96).
; 9,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1
seq $0,40304 ; Continued fraction for sqrt(322).
... |
programs/oeis/073/A073353.asm | neoneye/loda | 22 | 50189 | <reponame>neoneye/loda
; A073353: Sum of n and its squarefree kernel.
; 2,4,6,6,10,12,14,10,12,20,22,18,26,28,30,18,34,24,38,30,42,44,46,30,30,52,30,42,58,60,62,34,66,68,70,42,74,76,78,50,82,84,86,66,60,92,94,54,56,60,102,78,106,60,110,70,114,116,118,90,122,124,84,66,130,132,134,102,138,140,142,78,146,148,90,114,154,15... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.