text stringlengths 1 1.05M |
|---|
// Boost.Range library
//
// Copyright Neil Groves 2010. Use, modification and
// distribution is subject to 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)
//
// For more information, see http://www.boost.org/libs/range/
//
#ifn... |
; A179610: Eight white kings and one red king on a 3 X 3 chessboard. G.f.: 1/(1-3*x-5*x^2+4*x^3).
; Submitted by Christian Krause
; 1,3,14,53,217,860,3453,13791,55198,220737,883037,3532004,14128249,56512619,226051086,904203357,3616815025,14467257516,57869034245,231476130215,925904531806,3703618109513,14814472466709,592... |
; A074538: a(n) = 2^n + 5^n + 7^n.
; 3,14,78,476,3042,19964,133338,901796,6155682,42307244,292241898,2026156916,14085431922,98109721724,684326604858,4778079120836,33385518525762,233393453571404,1632228295438218,11417968672225556,79887633730301202,559022701243584284,3912205234378197978,27380668269044383076,1916408360253... |
# demonstrates use of switch instruction for computed jumps
# requires std_lib.asm
# ========================================
.fun main NORMAL [S32] = []
.reg U32 [size i]
.jtb switch_tab 5 labelD [1 labelA 2 labelB 4 labelC]
.bbl start
mov i 0
.bbl loop
switch i switch_tab
.bbl labelA
pusharg 65:U... |
; A021648: Decimal expansion of 1/644.
; 0,0,1,5,5,2,7,9,5,0,3,1,0,5,5,9,0,0,6,2,1,1,1,8,0,1,2,4,2,2,3,6,0,2,4,8,4,4,7,2,0,4,9,6,8,9,4,4,0,9,9,3,7,8,8,8,1,9,8,7,5,7,7,6,3,9,7,5,1,5,5,2,7,9,5,0,3,1,0,5,5,9,0,0,6,2,1,1,1,8,0,1,2,4,2,2,3,6,0
add $0,1
mov $2,10
pow $2,$0
mov $0,$2
div $0,644
mod $0,10
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x39f5, %rax
nop
nop
nop
nop
dec %rdx
mov $0x6162636465666768, %r14
movq %r14, %xmm5
vmovups %ymm5, (%rax)
and $15910, %rdx
lea addresses_D_ht+0x125f5, %r11
nop
nop
in... |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
;Lab32.asm
ORG 0000H ;1
START: MOV A,@R0 ;2
MOV 22H,@R1 ;3
MOV @R1,A ;4
MOV @R0,22H ;5
MOV R0,#88H ;6
MOVC A,@A+DPTR ;7
MOV A,@R1 ;8
MOVC A,@A+PC ;9
MOV A,@R1 ;10
MOVX A,@DPTR ;11
MOV A,@R1 ;12
MOV DPTR,#82AFH ;13
MOVX @DPTR,A ;14
SJMP $ ;15
END ;16 |
SECTION code_fp_math48
PUBLIC ___fs2ulong
EXTERN cm48_sdccixp_ds2ulong
defc ___fs2ulong = cm48_sdccixp_ds2ulong
|
; A052686: E.g.f. x^2*(1+3x-3x^2)/(1-x).
; Submitted by Jamie Morken(s2.)
; 0,0,2,24,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368000,20922789888000,355687428096000,6402373705728000,121645100408832000,2432902008176640000
seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (or... |
ARCH_ARM equ 0
ARCH_MIPS equ 0
ARCH_X86 equ 1
ARCH_X86_64 equ 0
ARCH_PPC32 equ 0
ARCH_PPC64 equ 0
HAVE_EDSP equ 0
HAVE_MEDIA equ 0
HAVE_NEON equ 0
HAVE_NEON_ASM equ 0
HAVE_MIPS32 equ 0
HAVE_DSPR2 equ 0
HAVE_MMX equ 1
HAVE_SSE equ 1
HAVE_SSE2 equ 1
HAVE_SSE3 equ 1
HAVE_SSSE3 equ 1
HAVE_SSE4_1 equ 1
HAVE_AVX equ 1
HAVE_A... |
/* ============================================================
* QupZilla - WebKit based browser
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software ... |
; A047790: a(n) = Fibonacci(2*n)-2^n+1.
; 0,0,0,1,6,24,81,250,732,2073,5742,15664,42273,113202,301428,799273,2112774,5571816,14668209,38563882,101285580,265817145,697214430,1827923296,4790749761,12552714594,32884171236,86133353545,225582998262,590749858968,1546935014097,4050592054234,10605914890428,27769300100697,72706... |
SFX_Cry06_1_Ch5:
duty_cycle_pattern 3, 3, 2, 2
square_note 6, 8, 3, 583
square_note 15, 6, 2, 550
square_note 4, 5, 2, 581
square_note 9, 6, 3, 518
square_note 15, 8, 2, 549
square_note 15, 4, 2, 519
SFX_Cry06_1_Ch6:
sound_ret
SFX_Cry06_1_Ch8:
noise_note 8, 13, 4, 140
noise_note 4, 14, 2, 156
noise_note ... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
FLDLG2
;TEST_END_RECORDING
|
Interrupts_Install:
nop
di
ifdef BuildCPC
exx
ld (Interrupt_CpcBcRestore_Plus2-2),bc
exx
endif
ifndef Interrupts_UseIM2
ld hl,&0038
ld a,(hl)
ld (InterruptRestore1_Plus1-1),a
; ld sp,&8181 ;this area is free as a stack pointer!
ld a,&C3 ;JP
ld (hl),a
ld de,InterruptHandler
... |
ifndef INCLUDE_TIMER
INCLUDE_TIMER equ 1
import '../lib/gp_get_trs80_model.asm'
import '../lib/m1_vblank.asm'
; _____ _
;|_ _(_)
; | | _ _ __ ___ ___ _ __
; | | | | '_ ` _ \ / _ \ '__|
; | | | | | | | | | __/ |
; \_/ |_|_| |_| |_|\___|_|
;
; Handles timing when to draw an animation frame to the screen.
; W... |
.386
.XMM
.model flat, c
.data
dummy QWORD 0, 0, 0 , 0
.code
Fld1_a PROC
fld1
fld1
fld1
ret
Fld1_a ENDP
Fld1_b PROC
fld1
fld1
fld1
ret
Fld1_b ENDP
FldzToTop3_a PROC
fstp dummy
fstp dummy
fstp dummy
fldz
fldz
fldz
ret
FldzToTop3_a ENDP
mmx_save PROC buf:DWORD
push eax
mov ... |
; A240053: 3rd Arithmetic derivation of products of 2 successive prime numbers (A006094).
; 0,16,32,10,48,1,92,1,92,96,156,1,128,44,188,608,248,1408,22,1472,240,324,368,30,86,288,32,1188,1,1552,30,560,476,2176,924,476,5120,60,432,2176,1148,512,4480,1,1300,324,1,391,1052,46,720,3232,672,2304,1448,860,2484,1036,226,768,7... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1e3d7, %rsi
lea addresses_WT_ht+0x17517, %rdi
nop
nop
nop
nop
nop
add %rbx, %rbx
mov $105, %rcx
rep movsl
sub %r15, %r15
lea addresses_WC_ht+0x6a0f, %r14
nop
sub %r9, %r9
movb $0x61, (... |
psh .0
dup
pop r1
out r1
pop r1
out r1
|
; A262789: Number of (n+2) X (2+2) 0..1 arrays with each row divisible by 5 and column not divisible by 5, read as a binary number with top and left being the most significant bits.
; 36,144,625,2601,10404,41616,167281,670761,2683044,10732176,42941809,171793449,687173796,2748695184,10994990449,43980381225,175921524900,... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; **** WAVPACK **** ;;
;; Hybrid Lossless Wavefile Compressor ;;
;; Copyright (c) 1998 - 2015 Conifer Software. ;;
;; ... |
push term
push term
|
; A321103: Sequence generated by: a(3*n) = 1, a(3*n+2) = 2 - a(3*n+1), a(9*n+1) = 2, a(9*n+7) = 0, a(9*n+4) = 2 - a(3*n+1), for n >= 0.
; 1,2,0,1,0,2,1,0,2,1,2,0,1,2,0,1,0,2,1,2,0,1,2,0,1,0,2,1,2,0,1,0,2,1,0,2,1,2,0,1,0,2,1,0,2,1,2,0,1,2,0,1,0,2,1,2,0,1,0,2,1,0,2,1,2,0,1,0,2,1,0,2,1,2,0,1,2,0,1,0,2,1,2,0,1,0,2,1,0,2,1,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x10c86, %rsi
lea addresses_A_ht+0x4006, %rdi
lfence
mov $104, %rcx
rep movsl
nop
nop
nop
sub $17710, %r15
lea addresses_normal_ht+0x15606, %r8
nop
nop
nop
dec %rcx
movb $0x61, (%r8)
nop
... |
.data
prompt_string: .asciiz "Enter a number:\n"
output_string: .asciiz "The single digit divisors are:\n"
newLine: .asciiz "\n"
.text
main:
li $v0, 4
la $a0, prompt_string
syscall
li $v0, 5
syscall
move $t4, $v0
la $a0, output_string
li... |
; ROAD A ROAD B ROAD C
org 00h
start:
mov p1,#00000000b ;clear port 1
mov p2,#00000000b ;clear port 2
mov p1,#00001100b ;R R G
mov p2,#00000001b
call six_sec
mov p1,#00000000b ;clear port 1
mov p2,#00000000b ;clear port 2
mov p1,#00010010b ;R Y Y with blinking effect
mov p2,#00000001b
call one_sec
mov ... |
; A066442: a(n) = 12^n mod n.
; 0,0,0,0,2,0,5,0,0,4,1,0,12,4,3,0,12,0,12,16,6,12,12,0,7,14,0,16,12,24,12,0,12,8,3,0,12,30,12,16,12,36,12,12,27,6,12,0,19,24,45,40,12,0,23,32,18,28,12,36,12,20,27,0,12,12,12,64,3,44,12,0,12,70,18,64,45,66,12,16,0,62,12,36,37,58,75,56,12,54,12,36,54,50,8,0,12,18,45,76
add $0,1
mov $1,1
mo... |
SECTION code_fp_dai32
PUBLIC __pow_impl
EXTERN ___dai32_setup_two
EXTERN ___dai32_xpwr
EXTERN ___dai32_return
__pow_impl:
call ___dai32_setup_two
call ___dai32_xpwr
jp ___dai32_return
|
SECTION code_fp_math32
PUBLIC cosh
EXTERN _m32_coshf
defc cosh = _m32_coshf
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _cosh
EXTERN cm32_sdcc_cosh
defc _cosh = cm32_sdcc_cosh
ENDIF
|
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/sksl/SkSLAnalysis.h"
#include "include/private/SkSLStatement.h"
#include "src/sksl/analysis/SkSLProgramVisitor.h"
namespace SkSL {
namespace {
class SwitchCase... |
; A097384: Total number of comparisons to find each of the values 1 through n using a binary search with 3-way comparisons (less than, equal and greater than), always choosing the mid-most value to compare to.
; 0,2,3,6,9,11,13,17,21,25,29,32,35,38,41,46,51,56,61,66,71,76,81,85,89,93,97,101,105,109,113,119,125,131,137,... |
// Copyright (C) 2015-2020 Virgil Security, Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// (1) Redistributions of source code must retain the above copyright
// ... |
;Usage: void lscroll(int x, int y, int width, int height, int pixels)
IF !__CPU_GBZ80__ & !__CPU_INTEL__
SECTION code_graphics
PUBLIC lscroll
PUBLIC _lscroll
EXTERN scroll_left
.lscroll
._lscroll
push ix
ld ix,2
add ix,sp
ld a,(ix+2)
ld c,(ix+4)
ld ... |
; A169611: Number of prime divisors of n that are not greater than 3, counted with multiplicity.
; 0,1,1,2,0,2,0,3,2,1,0,3,0,1,1,4,0,3,0,2,1,1,0,4,0,1,3,2,0,2,0,5,1,1,0,4,0,1,1,3,0,2,0,2,2,1,0,5,0,1,1,2,0,4,0,3,1,1,0,3,0,1,2,6,0,2,0,2,1,1,0,5,0,1,1,2,0,2,0,4,4,1,0,3,0,1,1,3,0,3,0,2,1,1,0,6,0,1,2,2
lpb $0
mul $0,2
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1cf1c, %rbp
sub $5891, %rax
movw $0x6162, (%rbp)
xor %r12, %r12
lea addresses_UC_ht+0x112ac, %r9
clflush (%r9)
nop
nop
nop
nop
sub $4282, %rbp
mov $0x6162636465666768, %r12
m... |
#include "../../stereokit.h"
#include "../input.h"
#include "input_hand.h"
#include <string.h>
namespace sk {
///////////////////////////////////////////
bool32_t override_enabled = false;
bool32_t override_hand[2] = {};
hand_joint_t override_joints[2][27] = {};
///////////////////////////////////////////
... |
//===- CoverageExporterLcov.cpp - Code coverage export --------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
; Операционная система VH-DOS
; © Саша Волохов, Антон Фёдоров. 2019-2021.
; Многочисленные редакции © Артём Котов. 2021.
; Данный файл служит для компиляции всей ОС.
; Он указывает, в каком формате должен быть выходной BIN файл
; Шаблон для добавления своего файла*:
; ` file "путь к файлу" ; *краткое описание... |
; A005126: a(n) = 2^n + n + 1.
; 2,4,7,12,21,38,71,136,265,522,1035,2060,4109,8206,16399,32784,65553,131090,262163,524308,1048597,2097174,4194327,8388632,16777241,33554458,67108891,134217756,268435485,536870942,1073741855,2147483680,4294967329,8589934626,17179869219,34359738404,68719476773,137438953510,274877906983,549... |
*
* PROGRAM: L8WAIT
* AUTHOR: Randy Frerking.
* COMMENTS: zFAM - z/OS File Access Manager.
*
* Issue z/OS STIMERM macro.
* This program must be defined as Threadsafe (Required),
* OpenAPI and CICSKey to execeute on an L8 TCB.
*
* Default wait is 2... |
; A007493: Decimal expansion of Wallis' number, the real root of x^3 - 2*x - 5.
; Submitted by Jon Maiga
; 2,0,9,4,5,5,1,4,8,1,5,4,2,3,2,6,5,9,1,4,8,2,3,8,6,5,4,0,5,7,9,3,0,2,9,6,3,8,5,7,3,0,6,1,0,5,6,2,8,2,3,9,1,8,0,3,0,4,1,2,8,5,2,9,0,4,5,3,1,2,1,8,9,9,8,3,4,8,3,6,6,7,1,4,6,2,6,7,2,8,1,7,7,7,1,5,7,7,5,7
mov $2,1
mov... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
TITLE MVLNAME - Copyright (c) SLR Systems 1994
INCLUDE MACROS
PUBLIC MOVE_ASCIZ_ESI_EDI,MOVE_ASCIZ_ECX_EAX
.CODE ROOT_TEXT
MOVE_ASCIZ_ECX_EAX PROC
;
;ECX IS SOURCE, EAX IS DESTINATION
;
TEST AL,3
JNZ L8$
MOV EDX,EAX
L4$:
MOV EAX,[ECX]
ADD ECX,4
MOV [EDX],EAX
ADD EDX,4
TEST AL,AL
... |
;==================================================================================================
; PCF8584 I2C Clock Driver
;==================================================================================================
;
PCF_BASE .EQU 0F0H
PCF_ID .EQU 0AAH
CPU_CLK .EQU 12
REGS0 .EQU PC... |
section "Metatile RAM defines",wram0,align[8]
Engine_TilesetPointer: dw
Engine_TilesetBank: db
; Collision constants
COLLISION_NONE equ 0
COLLISION_SOLID equ 1
COLLISION_TOPSOLID equ 2
COLLISION_WATER equ 3
COLLISION_COIN equ 4
COLLISION_UNUSED5 equ 5
CO... |
LD A 18
LD B A
LD &1 A
LD C &1
ADD B A A |
_ps: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)... |
; A184733: floor(n*s+h-h*s), where s=(3+sqrt(5))/2, h=-1/4; complement of A184732.
; 3,5,8,10,13,16,18,21,23,26,29,31,34,37,39,42,44,47,50,52,55,58,60,63,65,68,71,73,76,78,81,84,86,89,92,94,97,99,102,105,107,110,112,115,118,120,123,126,128,131,133,136,139,141,144,147,149,152,154,157,160,162,165,167,170,173,175,178,181,... |
; A292291: Number of vertices of type B at level n of the hyperbolic Pascal pyramid.
; 0,0,0,3,12,36,99,264,696,1827,4788,12540,32835,85968,225072,589251,1542684,4038804,10573731,27682392,72473448,189737955,496740420,1300483308,3404709507,8913645216,23336226144,61095033219,159948873516,418751587332,1096305888483,287016... |
// A simple program that computes the square root of a number
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "TutorialConfig.h"
int main (int argc, char *argv[])
{
if (argc < 2)
{
fprintf(stdout,"%s Version %d.%d\n",
argv[0],
Tutorial_VERSION_MAJOR,
... |
/*
Copyright 2018 - The OPRECOMP Project Consortium, Alma Mater Studiorum
Università di Bologna. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://ww... |
override_great_fairy_cutscene:
; a0 = global context
; a2 = fairy actor
addiu sp, sp, -0x18
sw ra, 0x10 (sp)
lw t0, 0x1D2C (a0) ; t0 = switch flags
li t1, 1
sll t1, t1, 0x18 ; t1 = ZL switch flag
and v0, t0, t1
beqz v0, @@return ; Do nothing until ZL is p... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x17d2f, %rsi
lea addresses_D_ht+0xb8f, %rdi
clflush (%rsi)
nop
nop
nop
nop
and $1292, %rbx
mov $54, %rcx
rep movsl
dec %r8
lea addresses_UC_ht+0x4537, %r15
nop
nop
sub $23819,... |
; from mingw-w64/mingw-w64-crt/misc/longjmp.S mingw-w64/mingw-w64-crt/misc/setjmp.S
; in public domain
AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN
EXPORT mingw_setjmp
EXPORT mingw_longjmp
mingw_setjmp proc
mov x1, #0
str x1, [x0] ; jmp_buf->Frame
stp x1... |
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
; **************************************************************************************************************
;
; "El Dump" (ECS 1-1)
;
; **************************************************************************************************************
cpu 8008new
Display_Port... |
//
// Copyright 2009 Christian Henning
//
// 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
//
#ifndef BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_IS_ALLOWED_HPP
#define BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_IS_ALLOWED_HPP
#incl... |
db "FLYSCORPIO@" ; species name
dw 307, 1430 ; height, weight
db "It builds its nest"
next "on a steep cliff."
next "When it is done"
page "gliding, it hops"
next "along the ground"
next "back to its nest.@"
|
;
; Z80 Runtime Library
;
; Signed integer compare
;
; $Id: l_cmp.asm,v 1.7 2002/02/21 19:21:35 dom Exp $:
XLIB l_cmp
; signed compare of DE and HL
; carry is sign of difference [set => DE < HL]
; zero is zero/non-zero
.l_cmp
ld a,h
add $80
ld b,a
ld a,d
add $80
cp b
ret nz
ld a,e
cp ... |
// Test provided by Karu
//ror with one operand 0
lbi r1, 0
lbi r2, 3
ror r3, r1, r2
halt // added by Karu
|
//
// Created by Nicholas Newdigate on 24/05/2021.
//
#include "interpolation.h"
// https://en.wikipedia.org/wiki/Lagrange_polynomial
// https://www.geeksforgeeks.org/lagranges-interpolation/
// function to interpolate the given data points using Lagrange's formula
// xi corresponds to the new data point whose value i... |
Name: zel_edmg.asm
Type: file
Size: 3056
Last-Modified: '2016-05-13T04:22:15Z'
SHA-1: 289BF27301B121B1F9D74C63F76EEFFF5C80FF84
Description: null
|
; A169520: Number of reduced words of length n in Coxeter group on 27 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I.
; 1,27,702,18252,474552,12338352,320797152,8340725952,216858874752,5638330743552,146596599332352,3811511582641152,99099301148669952,2576581829865418752,66991127576500887552,1741769316989023076... |
; Madram/OVL version / modified roudoudou
; V1: replace D4 (32 bits) by A': 16.03 s
; V2: replace D3 by DE' 14.83 s / 217 bytes
; V3: exx' by default (prepare v4) 14.86 s / 234 bytes
; V4: replace D6 by HL' 14.23 s / 217 bytes #800 buffer
; v5: slight cleanup ... |
; 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... |
; A103194: LAH transform of squares.
; 0,1,6,39,292,2505,24306,263431,3154824,41368977,589410910,9064804551,149641946796,2638693215769,49490245341642,983607047803815,20646947498718736,456392479671188001,10595402429677269174,257723100178182605287,6553958557721713088820,173904213835083054253161,4806041921951071854083746,... |
; A267860: An infinite ternary 3-Fibonacci sequence (replace each 00 factor of the Fibonacci word with 020).
; 0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,1,0,2,0... |
_text segment para public 'CODE' use32
sub_test proc near
var_28 = qword ptr -28h
var_20 = dword ptr -20h
var_18 = qword ptr -18h
arg_0 = dword ptr 8
push ebp
mov ebp, esp
sub esp, 20h
f... |
;;
;; Copyright (c) 2021-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,
;; this list of conditions and... |
;;; The beginning and end of the kernel.
global core.boot, core.halt, core.panic
global core.stack, core.stack.$
extern mboot.init, com.init, vga.init, gdt.init, idt.init, pic.init, kbd.init
extern main.main, text.writeNl, text.write, text.writeFmt
extern diag.printEflags, diag.printRegs, diag.printStack
extern kbd.p... |
;
; MSX specific routines
; by Stefano Bodrato, December 2007
;
; void msx_breakon();
;
; Restore disabled BREAK
;
;
; $Id: msx_breakon.asm,v 1.3 2015/01/19 01:32:57 pauloscustodio Exp $
;
PUBLIC msx_breakon
EXTERN brksave
INCLUDE "msxbasic.def"
msx_breakon:
ld hl,brksave
ld a,(hl)
cp 1
ret nz ; Alrea... |
; A011199: a(n) = (n+1)*(2*n+1)*(3*n+1).
; 1,24,105,280,585,1056,1729,2640,3825,5320,7161,9384,12025,15120,18705,22816,27489,32760,38665,45240,52521,60544,69345,78960,89425,100776,113049,126280,140505,155760,172081,189504,208065,227800,248745,270936,294409,319200,345345,372880,401841,432264,464185,497640,532665,569296,... |
title "IsPrefixOfStringInTable_x64"
option nokeyword:<Length>
;++
;
; Copyright (c) Trent Nelson, 2018.
;
; Module Name:
;
; PrefixSearchStringTable_x64_*.asm.
;
; Abstract:
;
; These modules implement the IsPrefixOfStringInTable routine.
;
; N.B. Keep this header identical between files to declut... |
SECTION "Evolutions and Attacks 1", ROMX
EvosAttacksPointers1::
dw BulbasaurEvosAttacks
dw IvysaurEvosAttacks
dw VenusaurEvosAttacks
dw CharmanderEvosAttacks
dw CharmeleonEvosAttacks
dw CharizardEvosAttacks
dw SquirtleEvosAttacks
dw WartortleEvosAttacks
dw BlastoiseEvosAttacks
dw CaterpieEvosAttacks
dw Meta... |
#include <ndt_evaluation/registration_score_eval.h>
#include <ndt_generic/serialization.h>
//#include <graph_map/graph_map.h>
RegistrationScoreEval::RegistrationScoreEval(const std::string >_file,
const std::string &odom_file,
... |
// there was a circular dependency b/w display.hpp and DisplayAdapter.hpp, that's why this has been segregated
#include <mutex> // for std::call_once
#include "adapter.hpp"
#include "display/display.hpp"
#include "world_node.hpp"
//DisplayAdapter::DisplayAdapter(DisplayManager dispMngr, World_Node_Ptr wor... |
<% from pwnlib.shellcraft import common %>
<% from socket import htons %>
<%page args="port"/>
<%docstring>
Args: port
Waits for a connection. Leaves socket in EBP.
ipv4 only
</%docstring>
<% acceptloop = common.label("acceptloop")
looplabel = common.label("loop")
%>
${acceptloop}:
/* Listens for... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbx
push %rcx
lea addresses_normal_ht+0x1444e, %rbx
clflush (%rbx)
nop
nop
nop
nop
nop
add %r13, %r13
mov (%rbx), %r9d
xor $43763, %rcx
lea addresses_A_ht+0x16cce, %r8
nop
cmp %rbx, %rbx
vmovups (%r8), %ymm4
vextracti128 $0, %ymm4,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rax
push %rcx
push %rdx
lea addresses_UC_ht+0x17019, %r15
nop
nop
nop
add %rax, %rax
mov $0x6162636465666768, %r9
movq %r9, %xmm1
vmovups %ymm1, (%r15)
nop
nop
nop
add %r10, %r10
lea addresses_A_ht+0x2e89, %rcx
and %rdx, %rdx
movb (%rcx), %... |
;===========================================================================
; FileMang.asm
;---------------------------------------------------------------------------
; Assembly x86 library
;
;
; Author: Ahmed Hussein
; Created:
;
;
; This file provide some Macros that ease th... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x13290, %rdx
clflush (%rdx)
nop
nop
nop
cmp %rbp, %rbp
vmovups (%rdx), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %r9
nop
nop
nop
nop
nop
xor %r15, %r15
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xc115, %r11
nop
xor $32560, %rsi
mov $0x6162636465666768, %r15
movq %r15, %xmm5
movups %xmm5, (%r11)
nop
nop
nop
nop
cmp %rax, %rax
lea addresses_UC_ht+0xd5d5, %rsi
lea address... |
#include <cinttypes>
#include "core/op_log.h"
#include "timesync/chrono.hpp"
namespace openperf::timesync::chrono {
namespace detail {
static bintime time_at(const timehands& th, counter::ticks t)
{
const auto& data = (t < th.t_lerp ? th.lerp : th.ref);
return (th.t_zero < t ? data.offset + to_bintime(t - t... |
EXTERN fileSaveProc1ReturnAddress : QWORD
EXTERN fileSaveProc2CallAddress : QWORD
EXTERN fileSaveProc2ReturnAddress : QWORD
EXTERN fileSaveProc3ReturnAddress : QWORD
EXTERN fileSaveProc3CallAddress : QWORD
EXTERN fileSaveProc3CallAddress2 : QWORD
EXTERN fileSaveProc4CallAddress : QWORD
EXTERN fileSavePro... |
10 ORG 100H
11 XOR A
12 LD B,144
13 LD D,0
14 LD E,0
15 CALL 0BFEEH
16 JP MAIN
17GPF EQU 0BFD0H
18MAIN: LD HL,L0
19 LD B,144
20 LD DE,0
21 CALL GPF
22 LD HL,L1
23 LD B,144
24 LD DE,0100H
25 CALL GPF
26 LD HL,L2
27 LD B,144
28 LD DE,0200H
29 CALL GPF
30 LD HL,L3
31 LD B,144
32 LD DE,0300H
33 CALL ... |
; Delayed item flags
DELAYED_LIGHT_ARROWS equ 0x01
DELAYED_FAIRY_OCARINA equ 0x02
DELAYED_ITEM_FAIRIES equ 0x10 ; 0x10 to 0x12
DELAYED_UPGRADE_FAIRIES equ 0x13 ; 0x13 to 0x15
DELAYED_OCARINA_SONGS equ 0x20 ; 0x20 to 0x2B
DELAYED_REQUIEM equ 0x23
DELAYED_EPONAS_SONG equ 0x27
DELAYED_SUNS_SON... |
_TEXT ends
_DATA segment
n_queue_items:
dq 0
queue_first:
dq 0
queue:
dq 0,0,0,0,0,0,0,0
dq 0,0,0,0,0,0,0,0
_DATA ends
_TEXT segment
pmark:
mov rax,qword ptr heap_size_65+0
xor rbx,rbx
mov qword ptr n_marked_words+0,rbx
shl rax,6
mov qword ptr heap_size_64_65+0,rax
mov qword ptr lazy_array_list+0,rbx
... |
-- 7 Billion Humans (2053) --
-- 9: Dynamic Angles --
-- Author: soerface
-- Size: 18
-- Speed: 3
step s
pickup c
if e == nothing:
jump a
endif
if e == nothing:
jump b
endif
if e == nothing:
jump c
endif
if e == nothing:
jump d
endif
if e == nothing:
jump e
endif
a:
step s
b:
step s
c:
step s
d:
step s
e:
step s... |
; A188785: Number of 2-step self-avoiding walks on an n X n X n X n 4-cube summed over all starting positions.
; 0,64,432,1536,4000,8640,16464,28672,46656,72000,106480,152064,210912,285376,378000,491520,628864,793152,987696,1216000,1481760,1788864,2141392,2543616,3000000,3515200,4094064,4741632,5463136,6264000,7149840,... |
; A178632: a(n) = 45 * ((10^n - 1)/9)^2.
; 45,5445,554445,55544445,5555444445,555554444445,55555544444445,5555555444444445,555555554444444445,55555555544444444445,5555555555444444444445,555555555554444444444445,55555555555544444444444445,5555555555555444444444444445,555555555555554444444444444445,5555555555555554444444... |
use16
start:
mov ax, 1h
mov ds, ax
mov ax, 2h
mov ss, ax
mov bx, 1
mov bp, 2
mov si, 3
mov di, 5
mov byte[bx + si], 1
mov byte[bx + di], 2
mov byte[bp + si], 3
mov byte[bp + di], 4
mov byte[si], 5
mov byte[di], 6
mov byte[10h], 7
mov byte[bx], 8
hlt
times 65520 - ($ - $$) db 0
jmp start
times 65536 - ($ - $$) db ... |
TITLE FCBIO - FCB system calls
NAME FCBIO
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
;** FCBIO.ASM - Ancient 1.0 1.1 FCB system calls
;
; $GET_FCB_POSITION
; $FCB_DELETE
; $GET_FCB_FILE_LENGTH
; $FCB_CLOSE
; $FCB_RENAME
; SaveFCBInfo
; ResetLRU
; SetOpenAge
; LRUF... |
;
; Devilishly simple Spectrum Routines
;
; getk() Read key status
;
; 17/5/99 djm
;
;
; $Id: getk.asm,v 1.6 2016-03-09 22:25:54 dom Exp $
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
.getk
._getk
ld h,0
ld a,(23560)
ld l,a
IF STANDARDESCAPECHARS
cp 13
jr nz,not_return
ld a,10
.not_return
ENDIF
and a
re... |
#include "\z\project_0\addons\refuel\script_component.hpp"
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 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 so... |
segment .rdata, align=16
round dq 0000000000002000h
colround dq 0000200000002000h
segment .text
global _vdasm_resize_table_row_8_k8_4x_SSE41
_vdasm_resize_table_row_8_k8_4x_SSE41:
push ebp
push edi
push esi
push ebx
movq xmm6, [round]
pshufd xmm6, xmm6, 0
mov ebp, [esp + 4 + 16] ... |
#pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/DynArray.hpp>
namespace RED4ext
{
namespace anim {
struct AnimNode_BlendSpace_InternalsBlendSpacePoint
{
static constexpr const char* NAME = "ani... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.