text
stringlengths
2
1.05M
; A021144: Expansion of 1/((1-x)(1-2x)(1-5x)(1-10x)). ; Submitted by Jon Maiga ; 1,18,227,2520,26481,271278,2745247,27615060,276964061,2773708938,27757433067,277676053200,2777269152841,27775234648998,277765062125687,2777714199500940,27777459886360821,277776188320627458,2777769830491895107,27777738041348102280,277777579...
TITLE Program Template (template.asm) ; Author: Harshvardhan Singh ; Course / Project ID: CS 271 Date: 1/26/2018 ; Description: Program 2 INCLUDE Irvine32.inc ;.386 ;.model flat,stdcall ;.stack 4096 ExitProcess proto,dwExitCode:dword .data ; declare variables here name WOR...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.28.29336.0 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __F01778D6_pch@h DB 01H __6CB86619_windows@pch DB 01H __893247DF_dllmain@cpp DB 01H msvcjmc ENDS PUBLIC DllMain PUBLIC __JustMyCode_Default EXTRN _RTC_InitBase:PR...
// Test MAKEWORD() // Commodore 64 PRG executable file .file [name="makeword-1.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .segment Code ma...
; BeepFX sound effect by shiru ; http://shiru.untergrund.net SECTION rodata_clib SECTION rodata_sound_bit PUBLIC _bfx_40 _bfx_40: ; Select_1 defb 1 ;tone defw 1,2000,400,0,128 defb 1 ;tone defw 1,2000,400,0,16 defb 1 ;tone defw 1,2000,600,0,128 defb 1 ;tone defw 1,2000,600,0,16 defb ...
; A175014: y-values in the solution to x^2-55*y^2=1. ; Submitted by Jamie Morken(w4) ; 0,12,2136,380196,67672752,12045369660,2144008126728,381621401187924,67926465403323744,12090529220390438508,2152046274764094730680,383052146378788471622532,68181130009149583854080016,12135858089482247137554620316,216011455879783084090...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="path, argv, envp"/> <%docstring> Invokes the syscall execve. See 'man 2 execve' for more information. Arguments: path(char): path argv(char): argv envp(char): envp </%docstring> ${syscall('SYS_execve', path, argv, envp)}
;------------------------------------------------------------------------------------------- ;-- Programa de ejemplo para Bootloader. Secuencia de dos estados que se saca por los leds ;-- ;-- Este programa se carga mediante el bootloader ;---------------------------------------------------------------------------------...
; A208283: Number of n X 4 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 1 0 vertically. ; 10,100,378,984,2090,3900,6650,10608,16074,23380,32890,45000,60138,78764,101370,128480,160650,198468,242554,293560,352170,419100,495098,580944,677450,785460,905850,1039528,1187434,1350540,1529850,1726400,194125...
;Tritone v2 beeper music engine by Shiru (shiru@mail.ru) 03'11 ;Three channels of tone, per-pattern tempo ;One channel of interrupting drums ;Feel free to do whatever you want with the code, it is PD OP_NOP equ $00 OP_SCF equ $37 OP_ORC equ $b1 org $8000 begin ld hl,musicData call play jp be...
; A160973: a(n) is the number of positive integers of the form (n-3k)/(2k+1), 1 <= k <= (n-1)/5. ; 0,0,0,0,0,0,1,0,0,1,0,1,1,0,0,1,2,0,1,0,0,3,0,1,1,0,2,1,0,0,3,2,0,1,0,0,3,2,0,2,0,2,1,0,2,1,2,0,3,0,0,5,0,0,1,0,2,3,2,1,1,2,0,1,0,2,5,0,0,1,2,2,3,0,0,3,2,0,1,2,0,5,0,1,3,0,4,1,0,0,1 trn $0,3 mul $0,2 add $0,8 cal $0,3210...
.model small .stack 100h .data .code main proc mov ah,2 mov dl,'?' int 21h mov ah,1 int 21h mov bl,al mov ah,2 mov dl,0DH int 21h mov dl,0AH int 21h mov ah,2 mov dl,bl int 21h ;return to dos mov ah,4ch int 21h main endp end main
;****************************************************************************** ;* FS_CMP16.ASM - 16 BIT STATE - * ;* * ;* Copyright (c) 1996 Texas Instruments Incorporated * ...
; A080029: a(n) is taken to be the smallest positive integer not already present which is consistent with the condition "n is a member of the sequence if and only if a(n) is a multiple of 3". ; 0,2,3,6,5,9,12,8,15,18,11,21,24,14,27,30,17,33,36,20,39,42,23,45,48,26,51,54,29,57,60,32,63,66,35,69,72,38,75,78,41,81,84,44,8...
; A095905: Sequence generated from Golomb's proof of de Bruijn's theorem on a torus considered as a matrix. ; Submitted by Jamie Morken(s4) ; 1,21,333,5373,86589,1395549,22491837,362497437,5842314621,94159673181,1517556760893,24458225530653,394189404655869,6353089129389789,102391746224652477,1650231797698803357,2659652...
; A029928: Convert n from statute miles to nautical miles. ; 0,1,2,3,3,4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,23,24,25,26,27,28,29,30,30,31,32,33,34,35,36,36,37,38,39,40,41,42,43,43,44,45,46,47,48,49,50 mov $1,$0 mul $0,5 add $0,$1 sub $0,$1 lpb $0,1 sub $0,38 sub $1,1 lpe
;; @file ; ; Copyright 2006 - 2010 Unified EFI, Inc.<BR> ; Copyright (c) 2010, Intel Corporation. All rights reserved.<BR> ; ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text...
; A032927: Numbers whose set of base-6 digits is {1,2}. ; 1,2,7,8,13,14,43,44,49,50,79,80,85,86,259,260,265,266,295,296,301,302,475,476,481,482,511,512,517,518,1555,1556,1561,1562,1591,1592,1597,1598,1771,1772,1777,1778,1807,1808,1813,1814,2851,2852,2857,2858,2887,2888,2893,2894,3067,3068,3073,3074,3103,3104,3109,3110,...
DOSSEG .MODEL small .CODE sp_save dw ? salc macro db 0d6h endm PUBLIC _cga_draw_vline _cga_draw_vline PROC ARG buff:DWORD, x:WORD, y0:WORD, y1:WORD, colour:BYTE ; draw a line from (x, y0) - (x, y1) including endpoints in the give colour (0-3) push bp mov bp, sp ...
;; ml64 Real_x64.asm .code ;; public: void __cdecl Real10::FromDouble(double) ?FromDouble@Real10@@QEAAXN@Z proc sub rsp, 8 movsd qword ptr [rsp],xmm1 fld qword ptr [rsp] fstp tbyte ptr [ecx] add rsp, 8 ret ?FromDouble@Real10@@QEAAXN@Z endp ;; public: void __cdecl Real1...
; A113805: Numbers that are congruent to {5, 9} mod 14. ; 5,9,19,23,33,37,47,51,61,65,75,79,89,93,103,107,117,121,131,135,145,149,159,163,173,177,187,191,201,205,215,219,229,233,243,247,257,261,271,275,285,289,299,303,313,317,327,331,341,345,355,359,369 mov $1,$0 mul $1,3 div $1,2 mul $1,14 div $1,3 add $1,5
; A037461: a(n)=Sum{d(i)*7^i: i=0,1,...,m}, where Sum{d(i)*4^i: i=0,1,...,m} is the base 4 representation of n. ; 1,2,3,7,8,9,10,14,15,16,17,21,22,23,24,49,50,51,52,56,57,58,59,63,64,65,66,70,71,72,73,98,99,100,101,105,106,107,108,112,113,114,115,119,120,121,122,147,148,149,150,154,155,156,157,161,162,163,164,168,169,1...
; ; D project ; ; by Oscar Toledo G. ; ; Creation date: Nov/21/2019. ; Revision date: Nov/22/2019. Now working. ; Revision date: Nov/23/2019. Optimized. ; Revision date: Nov/24/2019. Builds a world. Added evil cubes, and ; ...
TITLE reorder.asm ; Rearranges the values of an array into a different order ; Uses only: ; MOV and XCHG ; Direct offset addressing INCLUDE Irvine32.inc .data clearEAX TEXTEQU <mov eax, 0> clearEBX TEXTEQU <mov ebx, 0> arrayD DWORD 32, 51, 12 .data? .code main PROC clearEAX clearEBX MOV eax, [arrayD] ; Move ...
.byte $01 ; Unknown purpose .byte OBJ_TWIRLINGPLATCWNS, $06, $12 .byte OBJ_TWIRLINGPLATCWNS, $12, $15 .byte OBJ_TWIRLINGPLATCWNS, $1C, $17 .byte OBJ_TILTINGPLATFORM, $28, $13 .byte OBJ_TWIRLINGPLATCW, $2F, $15 .byte OBJ_TWIRLINGPLATCWNS, $2F, $19 .byte OBJ_TILTINGPLATFORM, $37, $17 .byte OBJ_TWIRLINGPLATCWNS,...
; A008475: If n = Product (p_j^k_j) then a(n) = Sum (p_j^k_j) (a(1) = 0 by convention). ; 0,2,3,4,5,5,7,8,9,7,11,7,13,9,8,16,17,11,19,9,10,13,23,11,25,15,27,11,29,10,31,32,14,19,12,13,37,21,16,13,41,12,43,15,14,25,47,19,49,27,20,17,53,29,16,15,22,31,59,12,61,33,16,64,18,16,67,21,26,14,71,17,73,39,28,23,18,18,79,21,81,4...
; A211958: Number of lower triangular n X n arrays colored with integers 0 upwards introduced in row major order, with no element equal to any diagonal or antidiagonal neighbor, and containing the value n(n+1)/2-2. ; 0,3,12,37,90,186,343,582,927,1405,2046,2883,3952,5292,6945,8956,11373,14247,17632,21585,26166,31438,374...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rax push %rcx push %rdi push %rdx lea addresses_WC_ht+0x1d5a6, %r8 nop nop sub %rdx, %rdx movups (%r8), %xmm2 vpextrq $1, %xmm2, %rax nop inc %r11 lea addresses_WC_ht+0x12fc6, %r11 nop nop add %rcx, %rcx vmovups (%r11), %ymm7 vextracti128 $...
; A053208: Row sums of A053207. ; 0,3,10,24,52,108,220,444,892,1788,3580,7164,14332,28668,57340,114684,229372,458748,917500,1835004,3670012,7340028,14680060,29360124,58720252,117440508,234881020,469762044,939524092,1879048188,3758096380,7516192764,15032385532,30064771068,60129542140,120259084284,240518168572,4810363371...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x119fa, %r10 nop add $61068, %rdx movups (%r10), %xmm6 vpextrq $1, %xmm6, %rcx cmp %r12, %r12 lea addresses_WC_ht+0x1da26, %rsi lea addresses_UC_ht+0x1edd0, %rdi nop add ...
; Copyright 2016, The max Contributors. All rights reserved. ; Use of this source code is governed by a BSD-style license that can be ; found in the LICENSE file. .code max_Hardware_CPU_X64AssemblyIsCPUIDAvailablePolicies_IsCPUIDAvailable PROC ; Get the current rflags register and set the id bit pushfq ...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
; A154990: Triangle read by rows. Main diagonal is positive. The rest of the terms are negative. ; 1,-1,1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1 mov $1,2 lpb...
; A300075: Period 6: repeat [0, 1, 1, 2, 2, 2]. ; 0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2 mod $0,6 lpb $0,1 div $0,3 add $1,1 lpe
;; ;; Copyright (c) 2012-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...
; A038389: Let f(n) be the smallest number such that the arithmetic mean (A) and geometric mean (G) of n and f(n) are both integers; sequence gives A values. ; Submitted by Christian Krause ; 1,2,3,4,5,6,7,5,5,10,11,12,13,14,15,10,17,10,19,20,21,22,23,15,13,26,15,28,29,30,31,17,33,34,35,20,37,38,39,25,41,42,43,44,25,46...
; A085007: Partial sums of A085006. ; 1,2,4,5,6,7,8,9,11,12,13,15,16,17,19,20,21,22,23,24,26,27,28,29,30,31,33,34,35,36,37,38,40,41,42,44,45,46,48,49,50,51,52,53,55,56,57,59,60,61,63,64,65,66,67,68,70,71,72,74,75,76,78,79,80,81,82,83,85,86,87,88 lpb $0 mov $2,$0 sub $0,1 seq $2,85006 ; Let S(0)={1,1,2} S(n)={S(n...
<% from pwnlib.shellcraft import thumb from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context %> <%page args="dest, src"/> <%docstring> Thin wrapper around :func:`pwnlib.shellcraft.thumb.mov`, which sets `context.os` to `'linux'` before calling. Example: >>> print(pwnli...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x12ac0, %rcx nop nop nop nop nop sub $5994, %rbx movups (%rcx), %xmm0 vpextrq $1, %xmm0, %rdx nop nop dec %rax lea addresses_WT_ht+0x9dc0, %r14 add $320, %r10 movb (...
; Robert French has permitted making the enclosed freely downloadable with the ; following copyright notice: ; ; This material is licensed under Attribution-ShareAlike 4.0 International ; (CC BY-SA 4.0) https://creativecommons.org/licenses/by-sa/4.0/ ; ; [Sep 2020 Tim Halloran] Cassette version of the driver in 'color...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2018-2022, Intel Corporation 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 s...
; A017106: a(n) = (8*n+3)^6. ; 729,1771561,47045881,387420489,1838265625,6321363049,17596287801,42180533641,90458382169,177978515625,326940373369,567869252041,941480149401,1500730351849,2313060765625,3462825991689,5053913144281,7212549413161,10090298369529,13867245015625,18755369578009,25002110044521,32894113444921,427...
%include "x86-helpers.asm" nasm_util_assert_boilerplate thunk_boilerplate ; branch notes ; ; The BTB seems to have a 32-byte granularity and only the first taken ; branch in a 32-byte region gets a "fast" back-to-back prediction, of ; 1 cycle ; the second branch in a 32-byte region appears to take at least 2 cycles ;...
; A276984: Sum of squares of numbers less than n that do not divide n. ; 0,0,4,9,29,41,90,119,194,255,384,440,649,765,980,1155,1495,1654,2108,2324,2811,3185,3794,4050,4874,5351,6110,6664,7713,8155,9454,10075,11309,12235,13610,14295,16205,17209,18840,19930,22139,23085,25584,26808,29029,30861,33510,34614,37974,39670,4262...
; A160042: Decimal expansion of (89+36*sqrt(2))/73. ; Submitted by Christian Krause ; 1,9,1,6,5,9,8,4,6,9,1,1,5,4,9,8,9,2,8,1,7,6,1,7,5,2,6,1,2,5,4,0,9,7,6,8,2,5,8,2,3,0,3,9,3,8,5,4,2,0,5,6,5,8,4,0,3,2,3,3,5,2,1,3,2,5,5,7,0,3,6,8,8,0,0,8,7,1,0,3,2,0,5,2,8,9,5,8,2,3,6,1,0,6,7,8,2,1,4,5 bin $1,$0 mov $2,2 mov $3,$0 mul ...
; A012814: Take every 5th term of Padovan sequence A000931, beginning with the third term. ; 0,1,5,21,86,351,1432,5842,23833,97229,396655,1618192,6601569,26931732,109870576,448227521,1828587033,7459895657,30433357674,124155792775,506505428836,2066337330754,8429820731201,34390259761825,140298353215075,572360547759276,23...
; A168190: a(n) = n^3*(n^9 + 1)/2. ; 0,1,2052,265734,8388640,122070375,1088391276,6920643772,34359738624,141214768605,500000000500,1569214189026,4458050224992,11649042562339,28346956189020,64873168947000,140737488357376,291311118617337,578415690716004,1106657459536510,2048000000004000,3677913755697951,6427501315529932 ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1d6aa, %rax nop nop sub $21125, %r14 mov (%rax), %ebx nop nop nop nop sub %r15, %r15 lea addresses_WT_ht+0x15d5a, %r8 nop nop nop inc %r13 movb (%r8), %bl sub $23820...
[WiiULauncher0US] moduleMatches = 0x90DAC5CE ; Skip shake initialisation in CView::ProcessShakeNormal 0x2AEA96C = b 0x2AEAA0C [WiiULauncher0EU] moduleMatches = 0x8F7D2702 ; Skip shake initialisation in CView::ProcessShakeNormal 0x2AEA94C = b 0x2AEA9EC [WiiULauncher0JP] moduleMatches = 0x0D395735 ; Skip shake initi...
; A179956: a(n) is the smallest integer that contains a(n-1) but does not begin with a(n-1). ; 1,21,121,1121,11121,111121,1111121,11111121,111111121,1111111121,11111111121,111111111121,1111111111121,11111111111121,111111111111121,1111111111111121,11111111111111121,111111111111111121,1111111111111111121,1111111111111111...
; A086377: a(1)=1; a(n)=a(n-1)+2 if n is in the sequence; a(n)=a(n-1)+2 if n and (n-1) are not in the sequence; a(n)=a(n-1)+3 if n is not in the sequence but (n-1) is in the sequence. ; 1,4,6,8,11,13,16,18,21,23,25,28,30,33,35,37,40,42,45,47,49,52,54,57,59,62,64,66,69,71,74,76,78,81,83,86,88,91,93,95,98,100,103,105,107...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
;****************************************************************************** ;* MMX/SSE2-optimized functions for the RV40 decoder ;* Copyright (c) 2010 Ronald S. Bultje <rsbultje@gmail.com> ;* Copyright (c) 2010 Jason Garrett-Glaser <darkshikari@gmail.com> ;* Copyright (C) 2012 Christophe Gisquet <christophe.gisquet...
li $zero, 100 add $zero, $zero, -1000 li $at, 0xffff lui $at, 0xffff move $a0, $at move $a1, $at move $a2, $at move $a3, $at add $a0, $a0, $a0 addu $a1, $a1, $a1 addi $a2, $a2, 233 addiu $a2, $a2, 233 li $t0, 100 lui $t0, 233 li $t1, 233 lui $t1, 0xffff or $t2, $t0, $t1 ori $t3, $t0, 0xfffe and $t4, $t0, $t1 andi $t5, ...
Gary_h: db GYM ;tileset db CHAMPIONS_ROOM_HEIGHT, CHAMPIONS_ROOM_WIDTH ; Height, Width dw GaryBlocks, GaryTextPointers, GaryScript db $0 ;No Connections dw GaryObject
;********************************************************** ;This Code for GLCD ;********************************************************** include "p16f877A.inc" __CONFIG _DEBUG_OFF&_CP_OFF&_WRT_HALF&_CPD_OFF&_LVP_OFF&_BODEN_OFF&_PWRTE_OFF&_WDT_OFF&_XT_OSC ;********************************************************...
; A017518: a(n) = (11*n + 10)^10. ; 10000000000,16679880978201,1125899906842624,21611482313284249,210832519264920576,1346274334462890625,6428888932339941376,24842341419143568849,81707280688754689024,236736367459211723401,619173642240000000000,1488377021731616101801,3333369396234118349824,7029336084596720096049,14074678...
;/* ; Copyright Oliver Kowalke 2009. ; Distributed under the Boost Software License, Version 1.0. ; (See accompanying file LICENSE_1_0.txt or copy at ; http://www.boost.org/LICENSE_1_0.txt) ;*/ ; ******************************************************* ; * ...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\nanoftp.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT COMM _xmlMalloc:DWORD COMM...
; This program is meant to test all the instructions and put some results in an ; array. The address of the array is defined by a constant. The point of the ; program is to do easy regression testing on the RTL processor and the ; simulator. This assumes that the assembler works correctly. It is designed ; to work on a...
; A007007: Valence of graph of maximal intersecting families of sets. ; 0,1,3,4,10,15,35,56,126,210,462,792,1716,3003,6435,11440,24310,43758,92378,167960,352716,646646,1352078,2496144,5200300,9657700,20058300,37442160,77558760,145422675,300540195,565722720,1166803110,2203961430 mov $2,$0 mov $4,$0 lpb $2,1 mov $1,$4...
include c:\tasm\suma\macro.cbc Pila Segment Dw 64 Dup(0) Pila EndS Datos Segment ha db 'hola mundo$' Datos EndS Codigo Segment inicio: Assume CS:Codigo, SS:Pila xor ax,ax mov ax, datos mov ds,ax PushAll mov ah,09h lea dx,ha int 21...
age: db 0 amount_of_wood: dl 0 amount_of_food: dl 0 amount_of_gold: dl 0 amount_of_stone: dl 0 amount_of_people: dl 3 amount_of_max_people: dl 10 amount_of_buildings: db 0 map_data_ptr: dl 0 scheduling_events: rb MAX_AMOUNT_PEOPLE * 2 * EVENT.size amount_of_events: db 0 temp_unit_data: db 0 db 0 building...
; A079949: Special values of Hermite polynomials. ; Submitted by Jamie Morken(s1) ; 1,6,38,252,1740,12456,92136,702288,5503632,44258400,364615776,3072862656,26458723008,232501041792,2082933048960,19007627463936,176533756252416,1667446616360448,16006827410744832,156069042653445120,1544673697528974336,1551080389131165081...
; A035008: Total number of possible knight moves on an (n+2) X (n+2) chessboard, if the knight is placed anywhere. ; 0,16,48,96,160,240,336,448,576,720,880,1056,1248,1456,1680,1920,2176,2448,2736,3040,3360,3696,4048,4416,4800,5200,5616,6048,6496,6960,7440,7936,8448,8976,9520,10080,10656,11248,11856,12480,13120,13776,14...
; A006231: a(n) = Sum_{k=2..n} n(n-1)...(n-k+1)/k. ; 0,1,5,20,84,409,2365,16064,125664,1112073,10976173,119481284,1421542628,18348340113,255323504917,3809950976992,60683990530208,1027542662934897,18430998766219317,349096664728623316,6962409983976703316,145841989688186383337,3201192743180799343821,7347426007351089743497...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x183b3, %rsi lea addresses_A_ht+0x17e03, %rdi nop nop nop nop nop xor $5358, %r8 mov $72, %rcx rep movsb nop nop nop nop nop add %r14, %r14 lea addresses_UC_ht+0x7233, %r9 nop add %rdi, %...
; ; To address https://bugzilla.nasm.us/show_bug.cgi?id=3392527 ; %ifndef __OUTPUT_FORMAT__ %fatal '__OUTPUT_FORMAT__ defined as ', __OUTPUT_FORMAT__ %endif
; A179820: a(n) = n-th triangular number mod (n+2). ; 0,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14,1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45 sub $1,$0 add $0,2 bin $1,2 mod $1,$0 mov $0,$1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license and patent ; grant that can be found in the LICENSE file in the root of the source ; tree. All contributing project authors may be found in the AUTHORS ; file in the root of the sour...
;=============================================================================== ; Copyright 2014-2018 Intel Corporation ; All Rights Reserved. ; ; If this software was obtained under the Intel Simplified Software License, ; the following terms apply: ; ; The source code, information and material ("Material") co...
_ViridianGymText_74ace:: text "Fwahahaha! This is" line "my hideout!" para "I planned to" line "resurrect TEAM" cont "ROCKET here!" para "But, you have" line "caught me again!" cont "So be it! This" cont "time, I'm not" cont "holding back!" para "Once more, you" line "shall face" cont "GIOVANNI, the" c...
; A154636: a(n) is the ratio of the sum of the bends of the circles that are drawn in the n-th generation of Apollonian packing to the sum of the bends of the circles in the initial configuration of 3 circles. ; Submitted by Christian Krause ; 1,2,18,138,1050,7986,60738,461946,3513354,26720994,203227890,1545660138,1175...
; A124861: Expansion of 1/(1-x-3x^2-4x^3-2x^4). ; 1,1,4,11,29,80,219,597,1632,4459,12181,33280,90923,248405,678656,1854123,5065557,13839360,37809835,103298389,282216448,771029675,2106492245,5755043840,15723072171,42956232021,117358608384 add $0,1 seq $0,2605 ; a(n) = 2*(a(n-1) + a(n-2)), a(0) = 0, a(1) = 1. mul $0,6 s...
; A290198: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 721", based on the 5-celled von Neumann neighborhood. ; 1,2,5,13,30,62,126,254,510,1022,2046,4094,8190,16382,32766,65534,131070,262142,524286,1048574,209...
delay: //cycles formula = 5ab+5a ldy#3 //a=10 (original value) ldx#119 //b=119 repeat: //nop //2 cyc repeat2: dex //2 cyc //nop //2 cyc bne repeat2 //3 cyc dey //2 cyc bne repeat //3 cyc rts
; A062011: a(n) = 2*tau(n) = 2*A000005(n). ; 2,4,4,6,4,8,4,8,6,8,4,12,4,8,8,10,4,12,4,12,8,8,4,16,6,8,8,12,4,16,4,12,8,8,8,18,4,8,8,16,4,16,4,12,12,8,4,20,6,12,8,12,4,16,8,16,8,8,4,24,4,8,12,14,8,16,4,12,8,16,4,24,4,8,12,12,8,16,4,20,10,8,4,24,8,8,8,16,4,24,8,12,8,8,8,24,4,12,12,18,4,16,4,16,16,8,4,24,4,16,8,20,4,16,8,...
; A211266: Number of integer pairs (x,y) such that 0<x<y<=n and x*y<=2n. ; 0,1,3,5,7,10,12,15,18,21,24,28,30,34,38,41,44,49,51,56,60,63,67,72,75,79,83,88,91,97,99,104,109,112,117,123,125,130,135,140,143,149,152,157,163,167,170,177,180,186,190,194,199,205,209,215,219,223 mov $2,$0 mov $5,$0 lpb $2 mov $0,$5 sub $2,...
; A106249: Expansion of (1-x+x^2+x^3)/(1-x-x^4+x^5). ; 1,0,1,2,3,2,3,4,5,4,5,6,7,6,7,8,9,8,9,10,11,10,11,12,13,12,13,14,15,14,15,16,17,16,17,18,19,18,19,20,21,20,21,22,23,22,23,24,25,24,25,26,27,26,27,28,29,28,29,30,31,30,31,32,33,32,33,34,35,34,35,36,37,36,37,38,39,38,39,40,41,40,41,42,43,42,43,44,45,44,45,46,47,46,47...
; A329999: Beatty sequence for sqrt(x-1), where 1/sqrt(x-1) + 1/sqrt(x+1) = 1. ; 1,3,5,7,8,10,12,14,16,17,19,21,23,24,26,28,30,32,33,35,37,39,41,42,44,46,48,49,51,53,55,57,58,60,62,64,65,67,69,71,73,74,76,78,80,82,83,85,87,89,90,92,94,96,98,99,101,103,105,107,108,110,112,114 mov $7,$0 add $0,1 mov $2,3 mov $3,2 mov $5...
Route6GateObject: db $a ; border block db $4 ; warps db $5, $3, $2, $ff db $5, $4, $2, $ff db $0, $3, $1, $ff db $0, $4, $1, $ff db $0 ; signs db $1 ; objects object SPRITE_GUARD, $6, $2, STAY, LEFT, $1 ; person ; warp-to EVENT_DISP ROUTE_6_GATE_WIDTH, $5, $3 EVENT_DISP ROUTE_6_GATE_WIDTH, $5, $4 EVENT...
title "Cmos Access Routines" ;++ ; ; Copyright (c) 1992 NCR Corporation ; ; Module Name: ; ; mccmos.asm ; ; Abstract: ; ; Procedures necessary to access CMOS/ECMOS information. ; ; Author: ; ; David Risner (o-ncrdr) 20 Apr 1992 ; ; Revision History: ; ;-- .386p .xlist ;...
; A099938: Consider the sequence of circles C0, C1, C2, C3 ..., where C0 is a half-circle of radius 1. C1 is the largest circle that fits into C0 and has radius 1/2. C(n+1) is the largest circle that fits inside C0 but outside C(n), etc. Sequence gives the curvatures (reciprocals of the radii) of the circles. ; 2,4,18,...
; A066004: Sum of digits of 8^n. ; 1,8,10,8,19,26,19,26,37,35,37,62,64,71,46,62,73,80,82,80,82,89,109,89,109,125,100,107,118,107,118,125,127,107,118,125,145,143,145,152,172,170,172,188,181,170,190,215,172,215,235,233,217,215,199,251,190,242,244,251,244,278,289,242,253,242,262,269,253,296,280,323,289,296,334,287,316,323...
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : inttostr.asm ; Purpose : Convert integer to string. ; Date : 13th August 2019 ; Author : Paul Robson (paul@robson...
; DRAW OR SPRITE 2 BYTE DEFINITION ROTATED, ON LEFT BORDER ; 01.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version PUBLIC SP1_DRAW_OR2LB EXTERN SP1_DRAW_OR2NR EXTERN SP1RETSPRDRAW, SP1V_ROTTBL, SP1V_PIXELBUFFER ; following data segment copied into struct sp1_cs ld hl,0 nop ld de,0 call SP1_DRAW...
; A321848: E.g.f.: exp(x/(1-5*x)). ; Submitted by Christian Krause ; 1,1,11,181,3961,108101,3532651,134415961,5834249681,284391878761,15378011541451,913297438474301,59086483931657161,4135583008765323181,311324086814794408811,25079793551003791168801,2152597370423901820231201,196089415332225446044417361,18893627902928018...
_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 -0x4(%ecx) a: 55 ...
; A152239: a(n) = -5*a(n-1) + 7*a(n-2) for n > 1 with a(0) = 1 and a(1) = -7. ; Submitted by Jon Maiga ; 1,-7,42,-259,1589,-9758,59913,-367871,2258746,-13868827,85155357,-522858574,3210380369,-19711911863,121032221898,-743144492531,4562948015941,-28016751527422,172024393748697,-1056239229435439 mul $0,2 mov $2,1 lpb $...
;Variables x: equ 5 ;Code ld e,x ld a,e ld b,e ld c,e ld d,e ld e,e ld h,e ld l,e
sty $ff cpz $ff bcs {la1}
////////////////////////////////////////////////////////////////////////////// // astro_title_code.asm // Copyright(c) 2021 Neal Smith. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // The following subroutines should be called from t...
; A001950: Upper Wythoff sequence (a Beatty sequence): a(n) = floor(n*phi^2), where phi = (1+sqrt(5))/2. ; 2,5,7,10,13,15,18,20,23,26,28,31,34,36,39,41,44,47,49,52,54,57,60,62,65,68,70,73,75,78,81,83,86,89,91,94,96,99,102,104,107,109,112,115,117,120,123,125,128,130,133,136,138,141,143,146,149,151,154,157,159,162,164,16...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rdi push %rdx lea addresses_normal_ht+0xe8a5, %r14 sub $41469, %r8 mov (%r14), %dx nop nop nop nop nop and $15692, %rdi pop %rdx pop %rdi pop %r8 pop %r14 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r14 push %r15 push %rbp...
putbasic "src/modtest.bas", "modtest" putbasic "src/sattest.bas", "sattest" putfile "data/DEBRIS", "debris", MUSIC_DATA putfile "data/!boot", "!boot", 0 OSCLI = &FFF7 OSWORD = &FFF1 OSRDCH = &FFE0 OSASCI = &FFE3 OSNEWL = &FFE7 OSWRCH = &FFEE OSBYTE = &FFF4 OSFILE = &FFDD SHEILA = &FE00 BRKV = &0202 IRQ1...
DCD 0x20000678 ; Setup stack pointer DCD 0x08000009 ; Reset vector, jump to address 8 bw snake_main ; Branch to main (this is actually in the interrupt vector) DCD 0x0 ; undefined 0xc DCD 0x0 ; undefined 0x10 DCD 0x0 ; undefined 0x14 DCD 0x0 ; undefined 0x18 DCD 0x0 ; undefined 0x1c DCD 0x0 ; undefin...
; epRISC development platform - BIOS SPI master control routines ; ; written by John C. Lemme, jclemme (at) proportionallabs (dot) com ; this file is part of the epRISC project, released under the epRISC license - see "license.txt" for details. ; ; These routines command the onboard I/O controller's SPI bus master. Wil...
; Boot Record Program (C) Copyright Peter Norton 1986 ; From PC Magazine ca. January 1986 boots segment 'code' public boot assume cs:boots boot proc far ; 30-byte DOS info -- set up for 2-sides, 9-sector ; change as needed for any other format head: jmp begin ; EB 2A 90 as per norma...
; A126236: Maximum length of a codeword in Huffman encoding of n symbols, where the k-th symbol has frequency k. ; 1,2,3,3,4,4,5,5,5,5,6,6,6,6,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11 l...
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. include AsmMacros.inc PROBE_SAVE_FLAGS_EVERYTHING equ DEFAULT_FRAME_SAVE_FLAGS + PTFF_SAVE_ALL_SCRATCH PROBE_SAVE_FLAGS_RAX_IS_GCREF equ DEFAULT_FRAME_SAVE_FLAGS + PTFF_SAVE_R...