text stringlengths 1 1.05M |
|---|
; A081423: Subdiagonal of array of n-gonal numbers A081422.
; 1,3,12,34,75,141,238,372,549,775,1056,1398,1807,2289,2850,3496,4233,5067,6004,7050,8211,9493,10902,12444,14125,15951,17928,20062,22359,24825,27466,30288,33297,36499,39900,43506,47323,51357,55614,60100,64821,69783,74992,80454,86175,92161,98418,104952,111769,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x6a91, %rsi
nop
nop
nop
nop
sub %rdx, %rdx
mov (%rsi), %r10d
nop
sub $62855, %rdi
lea addresses_normal_ht+0x1d2f1, %r11
nop
nop
nop
nop
add %rdx, %rdx
mov $0x6162636465666768, %rcx
movq... |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
*/
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "secondauthdialog.h"
#include "multisigdialog.h"
#include "o... |
; A008732: Molien series for 3-dimensional group [2,n] = *22n.
; 1,2,3,4,5,7,9,11,13,15,18,21,24,27,30,34,38,42,46,50,55,60,65,70,75,81,87,93,99,105,112,119,126,133,140,148,156,164,172,180,189,198,207,216,225,235,245,255,265,275,286,297,308,319,330,342,354,366,378,390,403,416,429,442,455,469,483,497,511,525,540,555,570... |
/*=========================================================================
Program: ParaView
Module: ParaViewMainWindow.cxx
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ... |
; A008936: Expansion of (1 - 2*x -x^4)/(1 - 2*x)^2 in powers of x.
; 1,2,4,8,15,28,52,96,176,320,576,1024,1792,3072,5120,8192,12288,16384,16384,0,-65536,-262144,-786432,-2097152,-5242880,-12582912,-29360128,-67108864,-150994944,-335544320,-738197504,-1610612736,-3489660928,-7516192768,-16106127360,-34359738368,-7301444... |
; ---------------------------------------------------------------------------
; Sprite mappings - SLZ platforms
; ---------------------------------------------------------------------------
dc.w byte_819C-Map_obj18b
byte_819C: dc.b 2
dc.b $F8, $F, 0, $21, $E0
dc.b $F8, $F, 0, $21, 0
even |
; Stub for the SHARP MZ family
;
; Stefano Bodrato - 5/5/2000
;
; $Id: mz_crt0.asm,v 1.24 2016/07/15 21:03:25 dom Exp $
;
MODULE mz_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope d... |
; A212294: Sums of (zero or more) distinct twin primes.
; 0,3,5,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74
sub $1,$0
add $0,11
add $1,2
lpb $0
sub $2,2
add $2,... |
start:
set r2 2
set r3 3500
set r4 1000
mul r2 r2 r4
add r4 r2 r3
set r2 'e'
set r3 1000
mul r2 r2 r3
add r5 r4 r2
writenumber r5
stop
|
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
; A227721: Floor(1/s(n)), where s(n) = (2n+1)/(2n+2) - n*log((n+1)/n).
; 17,44,83,134,197,272,359,458,569,692,827,974,1133,1304,1487,1682,1889,2108,2339,2582,2837,3104,3383,3674,3977,4292,4619,4958,5309,5672,6047,6434,6833,7244,7667,8102,8549,9008,9479,9962,10457,10964,11483,12014,12557,13112,13679,14258,14849,15452,16... |
cpy {m1}
bcc {la1}
|
; Endless loop
move r00 #1
.org @x10
.nam hello
addi r00 #1
jump hello
halt
|
; A284675: Positions of 0 in A284674; complement of A284676.
; Submitted by Christian Krause
; 1,6,10,14,19,23,27,32,36,40,45,49,53,57,62,66,70,75,79,83,88,92,96,100,105,109,113,118,122,126,131,135,139,143,148,152,156,161,165,169,174,178,182,187,191,195,199,204,208,212,217,221,225,230,234,238,242,247,251,255,260,264,26... |
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkSVGDevice.h"
#include "SkBase64.h"
#include "SkBitmap.h"
#include "SkChecksum.h"
#include "SkClipStack.h"
#include "SkData.h"
#include "SkDraw.h"
#include "SkImag... |
; A071735: Expansion of (1+x^3*C^3)*C^2, where C = (1-(1-4*x)^(1/2))/(2*x) is g.f. for Catalan numbers, A000108.
; 1,2,5,15,47,152,504,1705,5863,20436,72046,256462,920550,3328192,12109270,44305245,162911415,601700700,2231255070,8304089970,31007435970,116130446640,436137803400,1642112017338,6197239974582
mov $2,$0
mov ... |
; A170476: Number of reduced words of length n in Coxeter group on 35 generators S_i with relations (S_i)^2 = (S_i S_j)^45 = I.
; 1,35,1190,40460,1375640,46771760,1590239840,54068154560,1838317255040,62502786671360,2125094746826240,72253221392092160,2456609527331133440,83524723929258536960,2839840613594790256640,965545... |
db 0 ; species ID placeholder
db 75, 90, 50, 95, 110, 80
; hp atk def spd sat sdf
db DARK, FIRE ; type
db 45 ; catch rate
db 204 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/houndoom/fro... |
.global s_prepare_buffers
s_prepare_buffers:
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1ed0c, %rdi
xor %r9, %r9
vmovups (%rdi), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %rbx
nop
nop
nop
nop
cmp %rdx, %rdx
lea addresses_UC_ht+0x15cde, %rsi
lea addresses_UC_ht+0x7a0c, %... |
; A080251: Paired decomposition of tetrahedral numbers A000292 arranged as number triangle.
; Submitted by Christian Krause
; 1,2,2,3,3,4,4,4,6,6,5,5,8,8,9,6,6,10,10,12,12,7,7,12,12,15,15,16,8,8,14,14,18,18,20,20,9,9,16,16,21,21,24,24,25,10,10,18,18,24,24,28,28,30,30,11,11,20,20,27,27,32,32,35,35,36
lpb $0
add $1,1
... |
#include <bg2e/base/matrix_state.hpp>
namespace bg2e {
namespace base {
MatrixState::MatrixState()
{
}
MatrixState::~MatrixState() {
}
void MatrixState::beginFrame() {
_projectionMatrixStack.beginFrame();
_viewMatrixStack.beginFrame();
_modelMatrixStack.beginFrame();
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: RasterMod
FILE: nimbusChars.asm
AUTHOR: Gene Anderson
REVISION HISTORY:
Name Date Description
---- ---- -----------
Gene 11/3/89 Initial r... |
;*
;* COW : Character Oriented Windows
;*
;* gwinterf.asm : Global memory allocator - Windows interface procs
.xlist
include kernel.inc
include galloc.inc
.list
IFDEF DEBUG
CheckHeap MACRO n
local ok
cmp fCheckCwHeap,0
je ok
cCall CheckGlobalHeap
or ax,ax
jz ok
push ax
push dx
cCall <far ptr PrintGlobal... |
object_const_def ; object_event constants
const ECRUTEAKCITY_GRAMPS1
const ECRUTEAKCITY_GRAMPS2
const ECRUTEAKCITY_LASS1
const ECRUTEAKCITY_LASS2
const ECRUTEAKCITY_FISHER
const ECRUTEAKCITY_YOUNGSTER
const ECRUTEAKCITY_GRAMPS3
EcruteakCity_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALL... |
; **************************************
; *** ZoomTen's GameBoy Music Player ***
; *** Version 2.0 ***
; *** ***
; *** 2017-01-14 ***
; **************************************
; **************************************
; **** now with ARPEGGIOS! ... |
; A135517: a(n) = 2^(A091090(n)-1).
; 1,1,1,2,1,2,1,4,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,32,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,32,1,2,1,4
mov $1,1
lpb $0
mul $1,2
add $2,1
add $0,$2
dif $0,2
lpe
mov $0,$1
|
.data
message: .asciiz "The numbers are equal."
message2: .asciiz "Nothing happened."
.text
main:
addi $t0, $zero, 20
addi $t1, $zero, 20
beq $t0, $t1, numbersEqual
# Syscall
li $v0, 10
syscall
numbersEqual:
li $v0, 4
la $a0, message
syscall |
###############################################################################
# File : jr.asm
# Project : MIPS32 MUX
# Author: : Grant Ayers (ayers@cs.stanford.edu)
#
# Standards/Formatting:
# MIPS gas, soft tab, 80 column
#
# Description:
# Test the functionality of the 'jr' instruction.
#
####... |
/**
* Copyright (C) 2017 MongoDB Inc.
*
* 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 applicabl... |
; A168193: a(n) = a(n-1) + a(n-2) + 4, with a(0)=0, a(1)=2.
; 0,2,6,12,22,38,64,106,174,284,462,750,1216,1970,3190,5164,8358,13526,21888,35418,57310,92732,150046,242782,392832,635618,1028454,1664076,2692534,4356614,7049152,11405770,18454926,29860700,48315630,78176334,126491968,204668306,331160278,535828588,866988870,14... |
; Generic I/O
level_data: dw 0, 10848 ; level 1
dw 10848, 12123 ; level 2
dw 22971, 12159 ; level 3
dw 35130, 12685 ; level 4
dw 47815, 14356 ; level 5
dw 62171, 13925 ; level 6
dw 0, 11783 ; level 7 (file 2)
dw 11783, 12116 ; le... |
; A087656: Let f be defined on the rationals by f(p/q) =(p+1)/(q+1)=p_{1}/q_{1} where (p_{1},q_{1})=1. Let f^k(p/q)=p_{k}/q_{k} where (p_{k},q_{k})=1. Sequence gives least k such that p_{k}-q_{k} = 1 starting at n.
; 1,2,2,4,3,6,3,4,5,10,4,12,7,6,4,16,5,18,6,8,11,22,5,8,13,6,8,28,7,30,5,12,17,10,6,36,19,14,7,40,9,42,12... |
; A318369: Number of non-isomorphic set multipartitions (multisets of sets) of the multiset of prime indices of n.
; Submitted by Christian Krause
; 1,1,1,1,1,2,1,1,1,2,1,2,1,2,2,1,1,2,1,2,2,2,1,2,1,2,1,2,1,3,1,1,2,2,2,3,1,2,2,2,1,3,1,2,2,2,1,2,1,2,2,2,1,2,2,2,2,2,1,5,1,2,2,1,2,3,1,2,2,3,1,3,1,2,2,2,2,3,1,2,1,2,1,5,2,2... |
#include "pch.h"
#include "VisualTreeHelper2.h"
#include <queue>
using namespace Platform;
using namespace Platform::Collections;
using namespace std;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls::Primitives;
using namespace Windows::U... |
; A317298: a(n) = (1/2)*(1 + (-1)^n + 2*n + 4*n^2).
; 1,3,11,21,37,55,79,105,137,171,211,253,301,351,407,465,529,595,667,741,821,903,991,1081,1177,1275,1379,1485,1597,1711,1831,1953,2081,2211,2347,2485,2629,2775,2927,3081,3241,3403,3571,3741,3917,4095,4279,4465,4657,4851,5051,5253,5461,5671,5887,6105,6329,6555,6787,702... |
; A100154: Structured truncated icosahedral numbers.
; 1,60,282,772,1635,2976,4900,7512,10917,15220,20526,26940,34567,43512,53880,65776,79305,94572,111682,130740,151851,175120,200652,228552,258925,291876,327510,365932,407247,451560,498976,549600,603537,660892,721770,786276,854515,926592,1002612,1082680,1166901,1255380,... |
Name: z00_msge0.asm
Type: file
Size: 50408
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: ABB26E752EBC9662786E4FEA7F479B844D0B6838
Description: null
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rbp
push %rbx
push %rcx
push %rdx
lea addresses_normal_ht+0x18ced, %r8
nop
nop
nop
nop
nop
xor %rdx, %rdx
movb (%r8), %bl
nop
nop
nop
nop
nop
dec %rbp
lea addresses_UC_ht+0x52ed, %rcx
clflush (%rcx)
nop
nop
nop
nop
sub %r10, %r10
mov $0x616... |
[BotwMasterModeTweaksV208]
moduleMatches = 0x6267BFD0
# Constants
merge0x129 = $bit0 + $bit1 + $bit3 + $bit5 + $bit8
;Combines bits set by the user in rules.txt to a bitmask. Split between 2 patches because vanilla compiled it to 2 hex values instead of 1 for some
;reason. There's no overlap in vanilla between the 2 ... |
;
; jidctflt.asm - floating-point IDCT (64-bit SSE & SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice ... |
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "LinterContentBrowserExtensions.h"
#include "Modules/ModuleManager.h"
#include "LevelEditor.h"
#include "Framework/MultiBox/MultiBoxBuilder.h"
#include "LinterStyle.h"
#include "LauncherPlatformModule.h"
#include "UnrealEdMisc.h"
#include "ContentBro... |
Name: ys_w64.asm
Type: file
Size: 22163
Last-Modified: '2016-05-13T04:51:45Z'
SHA-1: 04C07AC97215B3A22B7017E9160FEFDDE82AA27A
Description: null
|
; A267580: Binary representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Simon Strandgaard
; 1,11,110,1101,11010,110101,1101011,11010111,110101110,1101011101,11010111011,110101110111,1101011101111,11010111011111,110101110111111,11010111... |
SECTION "INTRO_CUTSCENE_1_MAP", ROMX, ALIGN[8], BANK[12]
;;; Generated by cutscene.py
r12_cutscene_test_map_data::
.test_0
DB $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00,
DB $80, $80, $80, $80,... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : tokenise.asm
; Purpose : Tokenise ASCII string
; Date : 2nd September 2019
; Author : Paul Robson (paul@robsons.o... |
_shutdown: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.h"
#include "stat.h"
int main()
{
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 push... |
; A119476: a(1)=1, a(n)=a((n+1)/2)+1 if n is odd, a(n)=a(n/2)+2 if n is even.
; 1,3,4,5,5,6,6,7,6,7,7,8,7,8,8,9,7,8,8,9,8,9,9,10,8,9,9,10,9,10,10,11,8,9,9,10,9,10,10,11,9,10,10,11,10,11,11,12,9,10,10,11,10,11,11,12,10,11,11,12,11,12,12,13,9,10,10,11,10,11,11,12,10,11,11,12,11,12,12,13,10,11
mov $1,$0
lpb $0,1
div $0... |
; 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 Jamie Morken(s1)
; 1,2,4,12,20,64,104,336,544,1760,2848,9216,14912,48256,78080,252672,408832,1323008,2140672,6927360,11208704,36272128,58689536,18... |
; -------------------------------------------------------------------------------------------------
; TITLE: p001-Basic-Neuron-3-inputs
; PROCESSOR: Attiny85
;
; DESCRIPTION: I know this is insane, but also a great learning experience :D
;
; I use integer math
; This wil... |
UART_BUSY BIT 00h
PROG EQU 0000h
ORG PROG+0000h
SJMP START
;Interrupt Vector Table
ORG PROG+0023h
LCALL UART_ISR
RETI
ORG PROG+0030h
START:
CLR UART_BUSY
MOV TMOD,#00100001b ; Timer1 in Mode 2, Timer0 in Mode 1
MOV TH1, #0F3h ; Baud Rate = 2400 bps at 12.000MHz
MOV... |
db "WICKED@" ; species name
db "It lives quietly"
next "in deep forests."
next "It is said to"
page "create chilly"
next "winter winds with"
next "the fan it holds.@"
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xb8c8, %rcx
nop
nop
nop
and %r8, %r8
mov $0x6162636465666768, %r15
movq %r15, (%rcx)
nop
add %r11, %r11
lea addresses_normal_ht+0xcac8, %rsi
lea addresses_WT_ht+0x9648, %rdi
nop
dec %r1... |
; A133883: a(n) = binomial(n+3,n) mod 3^2.
; 1,4,1,2,8,2,3,3,3,4,7,4,5,2,5,6,6,6,7,1,7,8,5,8,0,0,0,1,4,1,2,8,2,3,3,3,4,7,4,5,2,5,6,6,6,7,1,7,8,5,8,0,0,0,1,4,1,2,8,2,3,3,3,4,7,4,5,2,5,6,6,6,7,1,7,8,5,8,0,0,0,1,4,1,2,8,2,3,3,3,4,7,4,5,2,5,6,6,6,7
add $0,3
bin $0,3
mod $0,9
|
dd len
extern show
global _start
global io_hlt
global io_cli
global io_sti
global io_stihlt
global io_in8
global io_in16
global io_in32
global io_out8
global io_out16
global io_out32
global io_load_eflags
global io_store_eflags
_start:
[bits 32]
call show
io_hlt: ; void io_hlt(voi... |
; A131355: Partial sums of A065423 plus one.
; 1,1,1,3,4,8,10,16,19,27,31,41,46,58,64,78,85,101,109,127,136,156,166,188,199,223,235,261,274,302,316,346,361,393,409,443,460,496,514,552,571,611,631,673,694,738,760,806,829,877,901,951,976,1028,1054,1108
mov $1,$0
div $0,2
add $0,$1
sub $1,1
div $1,2
mul $1,$0
mov $0,$1
d... |
; A131712: Period 4: repeat [1, 3, 7, 9].
; 1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1,3,7,9,1
mod $0,4
mul $0,8
div $0,5
mov $1,$0
mul $1,2
add $1,1
|
; unsigned char esx_m_setcaps(unsigned char caps)
INCLUDE "config_private.inc"
SECTION code_esxdos
PUBLIC asm_esx_m_setcaps
EXTERN __esxdos_error_mc
asm_esx_m_setcaps:
; enter : l = new capabilities
;
; exit : success
;
; hl = old capabilities
; carry reset
;
; ... |
/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.
This software may be distributed and modified under the terms of the GNU
General Public License version 2 (GPL2) as published by the Free Software
Foundation and appearing in the file GPL2.TXT included in the packaging of
this file. Plea... |
; A025748: 3rd order Patalan numbers (generalization of Catalan numbers).
; Submitted by Christian Krause
; 1,1,3,15,90,594,4158,30294,227205,1741905,13586859,107459703,859677624,6943550040,56540336040,463630755528,3824953733106,31724616256938,264371802141150,2212374554760150,18583946259985260,156636118477018620,132428... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
; example from page 54
.data
sum DWORD 0 ; this is the data area
.code ; this is the code area
main proc
mov eax,5 ; move 5 to the eax register
add eax,6 ; add 6 to the eax register
move sum, eax
invoke ExitProcess,0 ; end the program
main endp
end main |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
GLOBAL readRtcRaw
section .text
readRtcRaw:
push rbp
mov rbp,rsp
mov rax,rdi
out 70h,al
mov rax,0
in al,71h
mov rsp,rbp
pop rbp
ret
|
@256
D=A
@SP
M=D
@300
D=A
@LCL
M=D
@400
D=A
@ARG
M=D
@3000
D=A
@THIS
M=D
@3010
D=A
@THAT
M=D
@Sys.init$ret.0
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@5
D=A
@0
D=D+A
@SP
D=M-D
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.i... |
C arm/ecc-384-modp.asm
ifelse(<
Copyright (C) 2013 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; either versi... |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : multiply.asm
; Purpose : 32 bit Multiply
; Date : 3rd June 2019
; Author : paul@robsons.org.uk
;
; *************... |
###############################################################################
# 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... |
; A193767: The number of dominoes in a largest saturated domino covering of the 4 by n board.
; 2,5,8,12,14,17,21,24,26,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,153,156,159,162,165,168,171,174,177
mov $3,$0
lpb $0
mod ... |
#include "canvas.h"
Canvas *CanvasInstance;
int state = 0;
/* Surface to store current scribbles */
static cairo_surface_t *surface = NULL;
GtkWidget *da2;
static void clear_surface(void)
{
cairo_t *cr;
cr = cairo_create(surface);
cairo_set_source_rgb(cr, 1, 1, 1);
cairo_paint(cr);
cairo_destroy... |
#include <Common/CurrentMetrics.h>
/// Available metrics. Add something here as you wish.
#define APPLY_FOR_METRICS(M) \
M(Query, "Number of executing queries") \
M(Merge, "Number of executing background merges") \
M(PartMutation, "Number of mutations (ALTER DELETE/UPDATE)") \
M(ReplicatedFetch, "Numb... |
/*
Copyright 2014, The University of Texas at Austin
All rights reserved.
THIS FILE IS PART OF THE CONTAINMENT DOMAINS RUNTIME LIBRARY
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 mus... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x19956, %rsi
lea addresses_WC_ht+0x9556, %rdi
clflush (%rsi)
nop
nop
nop
nop
xor $62424, %r12
mov $54, %rcx
rep movsq
xor %rdi, %rdi
lea addresses_A_ht+0xb312, %rsi
lea addre... |
/*
*
* Copyright (C) 2002-2020, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Marco Ei... |
SECTION code_ctype
PUBLIC asm_islower
asm_islower:
; determine if char is in [a-z]
; enter : a = char
; exit : carry if not lower
; uses : f
cp 'a'
ret c
cp 'z'+1
ccf
ret
|
; A210100: Number of (n+1) X 2 0..2 arrays with every 2 X 2 subblock having one or three distinct values, and new values 0..2 introduced in row major order.
; 7,30,135,614,2799,12766,58231,265622,1211647,5526990,25211655,115004294,524598159,2392982206,10915714711,49792609142,227131616287,1036072863150,4726101083175,215... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x17a3e, %r12
nop
nop
nop
xor %rbp, %rbp
and $0xffffffffffffffc0, %r12
movntdqa (%r12), %xmm3
vpextrq $0, %xmm3, %rsi
nop
cmp %rcx, %rcx
lea addresses_D_ht+0xefde, %rsi
lea addresses_no... |
#include "car.hpp"
#include <glm/gtx/fast_trigonometry.hpp>
#include <glm/gtx/rotate_vector.hpp>
void Car::initializeGL(GLuint program) {
terminateGL();
me_program = program;
m_rotationLoc = abcg::glGetUniformLocation(me_program, "rotation");
m_scaleLoc = abcg::glGetUniformLocation(me_program, "sc... |
;***************************************************************************
; DEFINE SECTION
;***************************************************************************
include "VECTREX.I"
; start of vectrex memory with cartridge name...
org 0
;*************************************... |
; ; ; ; ; ; ; ; ; ; ; ;
;
; A generator that gives Mario a coin per second when ON is set, takes away a coin when
; OFF is set, changes ON to OFF after a few seconds, and kills Mario when he has 0 coins
;
; Insert as a generator
; Does not use extra bit
; Will kill Mario instantly if he enters the level with 0 coins
; ... |
nop
|
; A115269: Row sums of correlation triangle for floor((n+4)/4).
; 1,2,4,6,11,16,24,32,46,60,80,100,130,160,200,240,295,350,420,490,581,672,784,896,1036,1176,1344,1512,1716,1920,2160,2400,2685,2970,3300,3630,4015,4400,4840,5280,5786,6292,6864,7436,8086,8736,9464,10192,11011,11830,12740,13650,14665,15680,16800,17920,1916... |
; A140162: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n^0 if n is even.
; 1,2,245,246,3371,3372,20179,20180,79229,79230,240281,240282,611575,611576,1370951,1370952,2790809,2790810,5266909,5266910,9351011,9351012,15787355,15787356,25552981,25552982,39901889,39901890,60413039,60413040,89042191,89042192,1281775... |
; A314209: Coordination sequence Gal.5.293.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,11,17,22,27,32,37,43,49,54,59,65,71,76,81,86,91,97,103,108,113,119,125,130,135,140,145,151,157,162,167,173,179,184,189,194,199,205,211,2... |
; A070652: n^6 mod 29.
; 0,1,6,4,7,23,24,25,13,16,22,9,28,20,5,5,20,28,9,22,16,13,25,24,23,7,4,6,1,0,1,6,4,7,23,24,25,13,16,22,9,28,20,5,5,20,28,9,22,16,13,25,24,23,7,4,6,1,0,1,6,4,7,23,24,25,13,16,22,9,28,20,5,5,20,28,9,22,16,13,25
pow $0,6
mod $0,29
|
/*
* Copyright (c) 2003 Apple Computer, Inc. All Rights Reserved.
*
* The contents of this file constitute Original Code as defined in and are
* subject to the Apple Public Source License Version 1.2 (the 'License').
* You may not use this file except in compliance with the License. Please
* obtain a copy of th... |
; A117596: Start with x=6/5; repeatedly apply the map x -> x*ceiling(x); sequence gives numerators of the resulting sequence of fractions.
; Submitted by Christian Krause
; 6,12,36,288,16704,55808064,622908012647232,77602878444025201997703040704,1204441348559630271252918141028336694332989128001036771264,290135792424028... |
; A058748: a(n) = round(n*exp(n)).
; 0,3,15,60,218,742,2421,7676,23848,72928,220265,658616,1953057,5751374,16836460,49035261,142177768,410634197,1181879444,3391163718,9703303908,27695130424,78868082615,224130479264,635738931116,1800122483435,5088969845150,14365302496249,40495197800161,114008694617177,320594237445734,90... |
// Copyright 2019 The MWC Developers
//
// 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 agreed... |
; float __fsadd_callee(float a1, float a2)
SECTION code_fp_math48
PUBLIC cm48_sdccixp_dsadd_callee
EXTERN cm48_sdccixp_dcallee2, am48_dadd, cm48_sdccixp_m482d
cm48_sdccixp_dsadd_callee:
; add two sdcc floats
;
; enter : stack = sdcc_float a2, sdcc_float a1, ret
;
; exit : dehl = sdcc_float(a1+a2)
... |
; A040563: Continued fraction for sqrt(588).
; 24,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48,4,48
sub $0,1
mod $0,2
mul $0,11
add $0,2
pow $0,2
mov $1,$0
div $1,15
mul $1,4
add $1,4
|
.386p
Kernel Segment public para use32
assume cs:Kernel
__k8259SlaveEntry proc
pushad
mov ebp,esp
add ebp,32
push dword ptr ICW2_MASTER_INT_NO + 2
push dword ptr 0
push dword ptr [ebp]
push dword ptr [ebp + 4]
push dword ptr [ebp + 8]
test dword ptr [ebp+4],3
jz _kSlaveFriverKernelModeInt
push dword ptr [ebp + 12... |
; A173625: Decimal expansion of -3(1 - Pi)
; Submitted by Christian Krause
; 6,4,2,4,7,7,7,9,6,0,7,6,9,3,7,9,7,1,5,3,8,7,9,3,0,1,4,9,8,3,8,5,0,8,6,5,2,5,9,1,5,0,8,1,9,8,1,2,5,3,1,7,4,6,2,9,2,4,8,3,3,7,7,6,9,2,3,4,4,9,2,1,8,8,5,8,6,2,6,9,9,5,8,8,4,1,0,4,4,7,6,0,2,6,3,5,1,2,0,3
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
lpb $... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)rraiy"
.byte 0
lda #%00011011
sta db
lda #%11000110
s... |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
; A214992: Power ceiling-floor sequence of (golden ratio)^4.
; Submitted by Christian Krause
; 7,47,323,2213,15169,103969,712615,4884335,33477731,229459781,1572740737,10779725377,73885336903,506417632943,3471038093699,23790849022949,163064905066945,1117663486445665,7660579500052711,52506393013923311,359884171597410467,... |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : data.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ****... |
; A089946: Secondary diagonal of array A089944, in which the n-th row is the n-th binomial transform of the natural numbers.
; Submitted by Jon Maiga
; 1,4,24,200,2160,28812,458752,8503056,180000000,4287177620,113515167744,3308603804376,105288694411264,3632897460937500,135107988821114880,5388090449900829728,22938578096... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.