text stringlengths 1 1.05M |
|---|
; void *zx_aaddrcup(void *aaddr)
SECTION code_arch
PUBLIC _zx_aaddrcup
EXTERN asm_zx_aaddrcup
_zx_aaddrcup:
pop af
pop hl
push hl
push af
jp asm_zx_aaddrcup
|
; Subroutines for calling unbound dynamic functions from within GDB for HPPA.
; Subroutines for out of line prologues and epilogues on for the HPPA
; Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
; This file is part of GNU CC.
; GNU CC is free software; you can redistribute it and/or modify
; it... |
; A082311: A Jacobsthal sequence trisection.
; 1,5,43,341,2731,21845,174763,1398101,11184811,89478485,715827883,5726623061,45812984491,366503875925,2932031007403,23456248059221,187649984473771,1501199875790165,12009599006321323
mov $2,8
pow $2,$0
mov $1,$2
div $1,3
mul $1,2
add $1,1
|
; A116922: a(n) = smallest integer >= n/2 which is coprime to n.
; 1,1,2,3,3,5,4,5,5,7,6,7,7,9,8,9,9,11,10,11,11,13,12,13,13,15,14,15,15,17,16,17,17,19,18,19,19,21,20,21,21,23,22,23,23,25,24,25,25,27,26,27,27,29,28,29,29,31,30,31,31,33,32,33,33,35,34,35,35,37,36,37,37,39,38,39,39,41,40,41,41,43,42,43,43,45,44,45,45,47,... |
#include <Nazara/Core/Color.hpp>
#include <catch2/catch.hpp>
const float epsilon = 1.f;
void CompareColor(const Nz::Color& lhs, const Nz::Color& rhs)
{
Nz::UInt8 tolerance = 3;
REQUIRE(Nz::NumberEquals(lhs.r, rhs.r, tolerance));
REQUIRE(Nz::NumberEquals(lhs.g, rhs.g, tolerance));
REQUIRE(Nz::NumberEquals(lhs.b, r... |
section .data
section .text
global _start, _int_cmp, _swap
extern print_registers
_start:
push rbp
mov rbp, rsp
sub rsp, 8
mov rdi, rsp
sub rsp, 8
mov rsi, rsp
mov rax, rdi
mov rbx, rsi
call _swap
mov rsp, rbp
pop rbp
mov rax, 0
mov rbx, 0
int 80h
_swap... |
/* Copyright 2018 The TensorFlow Authors. 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 by applicable law or a... |
// #include "SideHatch.h"
// #include "ControlMap.h"
// void HatchIntake::IntakingPeriodic() { // Primary (e.g. intaking)
// _config.manipulator.SetTarget(curtinfrc::actuators::kForward);
// }
// void HatchIntake::OuttakingPeriodic() { // Reverse (e.g. ejecting)
// _config.manipulator.SetTarget(curtinfrc::actuato... |
; 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... |
; void flockfile(FILE *file)
SECTION code_clib
SECTION code_stdio
PUBLIC _flockfile
EXTERN _flockfile_fastcall
_flockfile:
pop af
pop hl
push hl
push af
jp _flockfile_fastcall
|
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r14
push %rbp
push %rcx
push %rdi
// Store
lea addresses_RW+0xb341, %rbp
nop
nop
nop
nop
nop
add $15758, %r14
mov $0x5152535455565758, %r12
movq %r12, %xmm6
vmovups %ymm6, (%rbp)
nop
xor %rdi,... |
#ifndef YTC_METADATA_PTR_CONFIGMAP_HPP_
#define YTC_METADATA_PTR_CONFIGMAP_HPP_
#include <memory>
class Metadata;
using MetadataPtr = std::shared_ptr<Metadata>;
#endif // YTC_METADATA_PTR_CONFIGMAP_HPP_
|
SECTION code_clib
SECTION code_stdio
PUBLIC __stdio_lock_tryacquire
EXTERN asm_mtx_trylock, l_offset_ix_de
__stdio_lock_tryacquire:
; Try to acquire the FILE lock but don't block
;
; enter : ix = FILE *
;
; exit : ix = FILE *
; carry set if failed to acquire
;
; uses : af
p... |
; A004581: Expansion of sqrt(8) in base 6.
; Submitted by Christian Krause
; 2,4,5,4,5,3,5,0,3,2,4,1,5,4,5,1,0,4,3,3,0,4,5,0,5,3,0,1,3,2,5,2,1,1,1,1,5,3,1,3,2,2,4,0,0,4,5,3,5,1,3,4,0,2,5,5,3,1,4,0,5,4,5,1,1,5,5,1,4,5,1,4,4,0,3,2,5,2,5,3,0,4,3,5,5,0,3,2,5,2,2,0,4,0,2,5,0,0,3,5
mov $1,1
mov $2,1
mov $3,$0
add $3,2
mov $... |
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/font/cfx_stockfontarray.h"
#include <memory>
#include ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xd49b, %rsi
lea addresses_normal_ht+0x12893, %rdi
nop
nop
nop
add %r12, %r12
mov $78, %rcx
rep movsw
add $14219, %rdi
lea addresses_WT_ht+0xfc93, %r10
sub %rdx, %rdx
mov $0x6162636465666768, %rd... |
#include<iostream>
using namespace std;
#include<conio.h>
#define max 5
class cqueue
{
public:
int q[100];
int front,rear;
void insert(int);
int delete1(void);
void display(void);
cqueue()
{
rear=-1;
front=-1;
}
};
void cqueue::insert(int x)
{
if(((f... |
; A174929: Partial sums of A174928.
; 1,66,132,262,393,588,784,1044,1305,1630,1956,2346,2737,3192,3648,4168,4689,5274,5860,6510,7161,7876,8592,9372,10153,10998,11844,12754,13665,14640,15616,16656,17697,18802,19908,21078,22249,23484,24720,26020
mov $1,1
lpb $0
mov $2,$0
sub $0,1
seq $2,174928 ; Partial sums of A1... |
; A174642: Number of ways to place 4 nonattacking amazons (superqueens) on a 4 X n board.
; 0,0,0,0,0,0,0,12,60,180,432,900,1692,2940,4800,7452,11100,15972,22320,30420,40572,53100,68352,86700,108540,134292,164400,199332,239580,285660,338112,397500,464412,539460,623280,716532,819900,934092,1059840,1197900,1349052,151410... |
@3030
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@3
M=D
@3040
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@4
M=D
@32
D=A
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@2
D=D+A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@46
D=A
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@6
D=D+A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@3
D=M
@SP
M=M+1
A=M-1
M=D
@... |
DiglettsCaveRoute2_Script:
ld a, ROUTE_2
ld [wLastMap], a
jp EnableAutoTextBoxDrawing
DiglettsCaveRoute2_TextPointers:
dw DiglettsCaveRoute2Text1
DiglettsCaveRoute2Text1:
text_far _DiglettsCaveRoute2Text1
text_end
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/net/load_time_stats.h"
#include "base/debug/trace_event.h"
#include "base/metrics/histogram.h"
#include "base/stl_util.h"
#i... |
/* $Id: GIMAll.cpp $ */
/** @file
* GIM - Guest Interface Manager - All Contexts.
*/
/*
* Copyright (C) 2014-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify i... |
; Arquivo: Abs.nasm
; Curso: Elementos de Sistemas
; Criado por: Luciano Soares
; Data: 27/03/2017
; Copia o valor de RAM[1] para RAM[0] deixando o valor sempre positivo.
leaw $1, %A
movw (%A), %S ; salva o que esta na RAM
leaw $MENOR, %A
jl %S ; checa se o número é negativo, se for pula para MENOR
nop
le... |
//===- ConvertSimQuant.cpp - Converts simulated quant ops------------------===//
//
// Part of the MLIR 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
//
//===---------------------------... |
; A060462: Integers k such that k! is divisible by k*(k+1)/2.
; 1,3,5,7,8,9,11,13,14,15,17,19,20,21,23,24,25,26,27,29,31,32,33,34,35,37,38,39,41,43,44,45,47,48,49,50,51,53,54,55,56,57,59,61,62,63,64,65,67,68,69,71,73,74,75,76,77,79,80,81,83,84,85,86,87,89,90,91,92,93,94,95,97,98,99,101,103,104,105,107,109,110,111,113,1... |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
sec... |
; A056003: A second-order recursive sequence.
; 1,18,135,660,2475,7722,21021,51480,115830,243100,481338,906984,1637610,2848860,4796550,7845024,12503007,19468350,29683225,44401500,65270205,94427190,134617275,189329400,262957500,360988056,490217508,659002960,877549860,1158240600,1516008252,1968759936,2537854605,324864033... |
// Setup and run a simple CIA-timer
// Commodore 64 PRG executable file
.file [name="cia-timer-simple.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... |
%include "include/inc.asm"
[BITS 32]
section .text
global _start
_start:
jmp start
extern main
extern dv_num
extern dv_uid
start:
mov esp, _stack
mov ebp, 0;
mov dword[dv_uid],ebx
mov byte[dv_num],dl
mov dword[file_sector_count],ecx
call main
hlt
global gdt_flush
gdt_flush:
push ebp
mov ... |
// This file implements the 2D isoline and isoband algorithms described
// here: https://en.wikipedia.org/wiki/Marching_squares
// Includes merging of line segments and polygons.
// Written by Claus O. Wilke
// [[Rcpp::plugins(cpp11)]]
#include <Rcpp.h>
using namespace Rcpp;
#include <iostream>
#include <vector>
#inc... |
; A107118: Numbers that are both centered triangular numbers (A005448) and centered hexagonal numbers (A003215).
; 1,19,631,21421,727669,24719311,839728891,28526062969,969046412041,32919051946411,1118278719765919,37988557420094821,1290492673563457981,43838762343737476519,1489227427013510743651,50589893756115627807601,1... |
Label -mem-manager-initialize
DLabel $heap-start-ptr
DataZ 4
DLabel $heap-after-ptr
DataZ 4
DLabel $heap-first-free
DataZ 4 ... |
TITLE PASS1 - Copyright (C) 1994 SLR Systems
INCLUDE MACROS
INCLUDE IO_STRUC
INCLUDE RELEASE
if fgh_win32
INCLUDE WIN32DEF
endif
INCLUDE EXES
PUBLIC PASS1_STUFF
.DATA
EXTERNDEF MODULE_NAME:BYTE,FILE_PLTYPE:BYTE,FILE_PLINK_FLAGS:BYTE,EXETYPE_FLAG:BYTE
EXTERNDEF OBJ_DEVICE:DWORD,IND_DEVICE:DWORD... |
; int b_vector_pop_back(b_vector_t *v)
SECTION code_adt_b_vector
PUBLIC _b_vector_pop_back
EXTERN _b_array_pop_back
defc _b_vector_pop_back = _b_array_pop_back
|
;
; ABC800 Routines
;
; Print character to the screen
;
; Oct. 2007 - Stefano Bodrato
;
; We can corrupt any register
;
;
; $Id: fputc_cons.asm,v 1.3 2016-05-15 20:15:45 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
;
; Entry: char to print
;
.fputc_cons_native
ld hl,2
add hl,sp
ld a,(hl... |
/*
Abstract class that represents a listener for game actions
Copyright (C) 2017 Arthur M
*/
#ifndef GAMEACTIONLISTENER_HPP
#define GAMEACTIONLISTENER_HPP
#include <string>
#include "GameAction.hpp"
namespace familyline::logic
{
/*
* Abstract class that implements a listener for actions
*
* Useful for sys... |
; A158630: a(n) = 44*n^2+1.
; 1,45,177,397,705,1101,1585,2157,2817,3565,4401,5325,6337,7437,8625,9901,11265,12717,14257,15885,17601,19405,21297,23277,25345,27501,29745,32077,34497,37005,39601,42285,45057,47917,50865,53901,57025,60237,63537,66925,70401,73965,77617,81357,85185,89101,93105,97197,101377,105645,110001,11444... |
if not defined @FWLD
; Load Word. Convert unsigned 16-bit integer into floating-point number
; In: HL = Word to convert
; Out: HL = floating point representation
; Pollutes: AF
@FWLD:
if not defined FWLD
; *****************************************
FWLD ; *
; ************************... |
global _mostSignificantBitIndex32
segment .text align=16
_mostSignificantBitIndex32:
test edi, edi
je .returnMinus1
bsr eax, edi
ret
.returnMinus1:
mov eax, -1
ret
align 16
_mostSignificantBitIndex32Alt:
test edi, edi
je .returnMinus1
xor eax, eax
test edi, 0xFFFF0000
je .nope1
shr ed... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC fdim
EXTERN cm48_sccz80_fdim
defc fdim = cm48_sccz80_fdim
|
; A295926: Number of (not necessarily maximum) cliques in the n-cube-connected cycle graph.
; 69,161,401,961,2241,5121,11521,25601,56321,122881,266241,573441,1228801,2621441,5570561,11796481,24903681,52428801,110100481,230686721,482344961,1006632961,2097152001,4362076161,9059696641,18790481921,38923141121,80530636801,1... |
//===--- Refactoring.cpp ---------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/... |
; A135175: 5^p + 3^p - 2^p, where p = prime(n).
; Submitted by Christian Krause
; 30,144,3336,80184,49003224,1222289256,763068462216,19074648065304,11921023089868344,186264583552936197096,4656613490748641378424,72759576592118027485247016,45474735125119406073899483976,1136868377544417255992242883544,71054273578668900008... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without... |
bits 64
section .text
global _start
_open: ; fd = open(filename, O_RDONLY)
mov rdi, 0x4040c0 ; filename's address
mov rsi, 0x0 ; O_RDONLY
mov rax, 0x2 ; syscall id for open
syscall
_read: ; read(fd, buffer, 0x100)
mov rdi, rax ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x262, %r15
nop
nop
nop
cmp %rbp, %rbp
movups (%r15), %xmm1
vpextrq $1, %xmm1, %r9
nop
nop
nop
nop
and $41484, %rcx
lea addresses_WT_ht+0x14a62, %rsi
nop
sub %rcx, %rcx
mov (%rsi), %r13w
... |
; A266250: Total number of ON (black) cells after n iterations of the "Rule 9" elementary cellular automaton starting with a single ON (black) cell.
; 1,1,3,5,9,14,18,27,31,44,48,65,69,90,94,119,123,152,156,189,193,230,234,275,279,324,328,377,381,434,438,495,499,560,564,629,633,702,706,779,783,860,864,945,949,1034,1038... |
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _ _
// | | | |
// __ _| |_ ___| | __ _ _ __ __ _
// / _` | __/ __| |/ _` | '_ \ / _` |
// | (_| | || (_... |
; A291033: p-INVERT of the positive integers, where p(S) = 1 - 6*S.
; Submitted by Jamie Morken(s4)
; 6,48,378,2976,23430,184464,1452282,11433792,90018054,708710640,5579667066,43928625888,345849340038,2722866094416,21437079415290,168773769227904,1328753074407942,10461250826035632,82361253533877114,648428777444981280,51... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x19ed7, %rsi
lea addresses_D_ht+0x18c53, %rdi
sub %r9, %r9
mov $104, %rcx
rep movsl
nop
nop
nop
nop
nop
and %r8, %r8
lea addresses_WC_ht+0x11a93, %r12
nop
nop
nop
nop
nop
add $17503, %rb... |
db "FOX@" ; species name
dw 200, 220 ; height, weight
db "As its body grows"
next "larger, its six"
next "warm tails become"
page "more beautiful,"
next "with a more luxur-"
next "ious coat of fur.@"
|
; A096024: Numbers n such that (n+j) mod (2+j) = 1 for j from 0 to 5 and (n+6) mod 8 <> 1.
; 423,1263,2103,2943,3783,4623,5463,6303,7143,7983,8823,9663,10503,11343,12183,13023,13863,14703,15543,16383,17223,18063,18903,19743,20583,21423,22263,23103,23943,24783,25623,26463,27303,28143,28983,29823
mul $0,840
add $0,423
|
/*******************************************************************\
Module:
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
#include "simplify_expr_class.h"
#include <cassert>
#include "arith_tools.h"
#include "c_types.h"
#include "config.h"
#... |
Origin 4x0000
SEGMENT CodeSegment:
; wb -> ex SR1
ADD R0, R0, 1
NOP
ADD R0, R0, 1
AND R1, R1, 0
NOP
NOP
NOP
NOP
NOP
NOP
NOP
; wb -> ex SR2
ADD R1, R1, 5
NOP
ADD R2, R0, R1
NOP
NOP
NOP
NOP
NOP
NOP
NOP
HALT:
BRnzp HALT
NOP
NOP
NOP
... |
; int b_vector_resize(b_vector_t *v, size_t n)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_resize_callee
EXTERN asm_b_vector_resize
b_vector_resize_callee:
pop hl
pop de
ex (sp),hl
jp asm_b_vector_resize
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_vector_resize_callee
defc _b... |
/*
* Copyright (C) 2021 The Android Open Source Project
*
* 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 app... |
.text
.intel_syntax noprefix
.file "example.cpp"
.file 1 "/opt/compiler-explorer/libs/abseil/absl/types" "optional.h"
.file 2 "/opt/compiler-explorer/libs/abseil/absl/types/internal" "optional.h"
.file 3 "/opt/compiler-explorer/libs/abseil/absl/base/internal" "ide... |
; A157610: 29282n^2 - 484n + 1.
; 28799,116161,262087,466577,729631,1051249,1431431,1870177,2367487,2923361,3537799,4210801,4942367,5732497,6581191,7488449,8454271,9478657,10561607,11703121,12903199,14161841,15479047,16854817,18289151,19782049,21333511,22943537,24612127,26339281,28124999,29969281,31872127,33833537,3585... |
#include<stdio.h>
int main()
{
int i,m,h,h1,h2,m1,m2;
while(scanf("%d%d%d%d",&h1,&m1,&h2,&m2)==4&&(h1||h2||m1||m2))
{
if(m1>m2){m2+=60;h1+=1;}
m=m2-m1;
if(h1>h2){h2+=24;}
h=h2-h1;
m+=(h*60);
printf("%d\n",m);
}
return 0;
}
|
; A292059: Wiener index of the n X n white bishop graph.
; 1,8,42,104,251,464,852,1360,2165,3160,4606,6328,8687,11424,15016,19104,24297,30120,37330,45320,55011,65648,78332,92144,108381,125944,146342,168280,193495,220480,251216,283968,320977,360264,404346,450984,502987,557840,618660,682640
mov $3,$0
add $3,1
mov $6,$0
... |
; 1 "dct64_sse.S"
; 1 "<built-in>"
; 1 "<command line>"
; 1 "dct64_sse.S"
; 9 "dct64_sse.S"
; 1 "mangle.h" 1
; 13 "mangle.h"
; 1 "config.h" 1
; 14 "mangle.h" 2
; 1 "intsym.h" 1
; 15 "mangle.h" 2
; 10 "dct64_sse.S" 2
; 22 "dct64_sse.S"
%include "asm_nasm.inc"
_sym_mangle costab_mmxsse
_sym_mangle dct64_ss... |
; A186498: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=3i-2 and g(j)=j-th triangular number. Complement of A186497.
; 2,3,5,8,10,13,17,20,24,29,33,38,44,49,55,62,68,75,83,90,98,107,115,124,134,143,153,164,174,185,197,208,220,233,245,258,272,285,299,314,328,343,359... |
; A218133: Number of length 10 primitive (=aperiodic or period 10) n-ary words.
; 0,0,990,58800,1047540,9762480,60458370,282458400,1073709000,3486725280,9999899910,25937263440,61917115260,137858120400,289254116970,576649631040,1099510578960,2015992480320,3570465336750,6131063781360,10239996799620,16679876893680,2655991... |
#include <boost/test/unit_test.hpp>
#include "algorithms/data_structures/array/max_subarray_product.hpp"
BOOST_AUTO_TEST_SUITE(TestMaxSubarrayProduct)
BOOST_AUTO_TEST_CASE(empty_array)
{
BOOST_CHECK(0 == Algo::DS::Array::MaxSubarrayProduct::Calc({}));
}
BOOST_AUTO_TEST_CASE(array_with_one_elem)
{
BOOST_CHECK... |
_Route24EndBattleText1::
text "I"
line "thought not!"
prompt
_Route24AfterBattleText1::
text "I hid because the"
line "people on the"
cont "bridge scared me!"
done
_Route24BattleText2::
text "OK! I'm No. 5!"
line "I'll stomp you!"
done
_Route24EndBattleText2::
text "Whoa!"
line "Too much!"
prompt
_Rout... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1443c, %rsi
lea addresses_WC_ht+0x150f4, %rdi
nop
nop
nop
nop
cmp %rax, %rax
mov $99, %rcx
rep movsb
nop
nop
nop
nop
cmp $16033, %r11
lea addresses_WC_ht+0x10d34, %rdi
nop
nop
nop
nop
nop
and $2... |
; A322465: Numbers on the 0-9-10-line in a spiral on an equilateral triangular lattice.
; 0,9,10,31,32,65,66,111,112,169,170,239,240,321,322,415,416,521,522,639,640,769,770,911,912,1065,1066,1231,1232,1409,1410,1599,1600,1801,1802,2015,2016,2241,2242,2479,2480,2729,2730,2991,2992,3265,3266,3551,3552,3849,3850,4159,4160... |
; void sp1_ChangeSprType(struct sp1_cs *c, void *drawf)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC sp1_ChangeSprType
EXTERN asm_sp1_ChangeSprType
sp1_ChangeSprType:
pop bc
pop de
pop hl
push hl
push de
push bc
jp asm_sp1_ChangeSprType
|
#pragma once
/**
emulate mpz_class
*/
#ifndef CYBOZU_DONT_USE_EXCEPTION
#include <cybozu/exception.hpp>
#endif
#include <cybozu/bit_operation.hpp>
#include <cybozu/xorshift.hpp>
#include <assert.h>
#ifndef CYBOZU_DONT_USE_STRING
#include <iostream>
#endif
#include <mcl/array.hpp>
#include <mcl/util.hpp>
#include <mcl/... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
SECTION "mobile_40", ROMX
Function100000:
Function100022:
Function100057:
call DisableMobile
call ReturnToMapFromSubmenu
ld hl, wVramState
res 1, [hl]
ret
SetRAMStateForMobile:
xor a
ld hl, wBGMapBuffer
ld bc, $65
call ByteFill
xor a
ld hl, wc300
ld bc, $100
call ByteFill
ldh a, [rIE]
ld [wBGMapBuffer]... |
/*
* Copyright (c) 2020, Emanuel Sprung <emanuel.sprung@gmail.com>
* 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 noti... |
// Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_io_newgrounds_Call
#include <io/newgrounds/Call.h>
#endif
#ifndef INCLUDED_io_newgrounds_ICallable
#include <io/newgrounds/ICallable.h>
#endif
#ifndef INCLUDED_io_newgrounds_NGLite
#include <io/newgrounds/NGLite.h>
#endif
#ifndef INCLUDED_io_newgrounds_com... |
//=================================================================================================
/*!
// \file src/mathtest/smatdmatsub/MCbM4x4a.cpp
// \brief Source file for the MCbM4x4a sparse matrix/dense matrix subtraction math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// Thi... |
; AY-3-8912 IC emulator version 26.0 for ATMega8/48/88/168/328 16.04.2020
;
; Sources for Atmel AVRStudio 5
;
; visit our site for more information
; These source codes are distributed under the GPL v3 license
; If you share these sources you should put the link to web site www.avray.ru
;
; ORIGIN: http://www.avray.ru
... |
; uint __FASTCALL__ zx_aaddr2py(void *attraddr)
; Stefano, 2014.12
PUBLIC zx_aaddr2py
EXTERN HRG_LineStart
.zx_aaddr2py
ld b,-1
ld de,HRG_LineStart+2+32768
and a
sbc hl,de
ld de,35
and a
.sbloop
sbc hl,de
inc b
jr nc,sbloop
ld a,b
rla
rla
rla
and $f8
ld l,a
ld h,0
... |
;
; z88dk - Spectrum +3 stdio Library
;
; djm 10/4/2000
;
; int remove(far char *name)
;
; Being on a +3 we ignore the far stuff
;
; $Id: remove.asm,v 1.3 2009/06/22 21:44:16 dom Exp $
XLIB remove
XREF dodos
INCLUDE "p3dos.def"
.remove
pop bc
pop hl ;filename
push hl
push bc
ld iy,DOS_DELETE
call dodos
... |
BasicUpstart2(start)
*=$080f "Main Code"
#import "input_handling.asm"
#import "collision_detection.asm"
#import "ball_direction_2.asm"
#import "ball_move.asm"
#import "delay.asm"
#import "start_wait.asm"
start: jsr $e544 //clears screen, built in sub-routine at this location
// set colors of screen
lda ... |
; size_t obstack_align_distance(struct obstack *ob, size_t alignment)
SECTION code_alloc_obstack
PUBLIC _obstack_align_distance
EXTERN asm_obstack_align_distance
_obstack_align_distance:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_obstack_align_distance
|
db "SEA LION@" ; species name
dw 507, 2650 ; height, weight
db "It sleeps under"
next "shallow ocean"
next "waters during the"
page "day, then looks"
next "for food at night"
next "when it's cold.@"
|
; A115302: Permutation of natural numbers generated by 3-rowed array shown below.
; 1,4,2,7,5,3,10,8,6,13,11,9,16,14,12,19,17,15,22,20,18,25,23,21,28,26,24,31,29,27,34,32,30,37,35,33,40,38,36,43,41,39,46,44,42,49,47,45,52,50,48,55,53,51,58,56,54,61,59,57,64,62,60
lpb $0
add $2,1
mov $3,$0
sub $0,1
trn $0,$2
... |
/****************************************************************************
** Meta object code from reading C++ file 'optionsmodel.h'
**
** Created: Fri Nov 14 18:46:44 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
**********************... |
; A170127: Number of reduced words of length n in Coxeter group on 22 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I.
; 1,22,462,9702,203742,4278582,89850222,1886854662,39623947902,832102905942,17474161024782,366957381520422,7706105011928862,161828205250506102,3398392310260628142,71366238515473190982
add $0,... |
/////////////////////////////////////////////////////////////////////////////
// Name: src/html/htmlfilt.cpp
// Purpose: wxHtmlFilter - input filter for translating into HTML format
// Author: Vaclav Slavik
// Copyright: (c) 1999 Vaclav Slavik
// Licence: wxWindows licence
////////////////////////... |
#include "config.h"
#include "activation.hpp"
namespace phosphor
{
namespace software
{
namespace updater
{
namespace softwareServer = sdbusplus::xyz::openbmc_project::Software::server;
void Activation::flashWrite()
{
auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH,
... |
; A198834: Number of sequences of n coin flips that win on the last flip, if the sequence of flips ends with (0,1,1) or (1,1,1).
; 0,0,2,2,4,6,10,16,26,42,68,110,178,288,466,754,1220,1974,3194,5168,8362,13530,21892,35422,57314,92736,150050,242786,392836,635622,1028458,1664080,2692538,4356618,7049156,11405774,18454930,2... |
///////////////////////////////////////////////////////
//
// Parser.cpp
//
// Purpose: Implements generalized parsing tools, such as tokenizer
// parsers, and lexer
//
///////////////////////////////////////////////////////
#include "Parser.h"
namespace Utilities
{
///------------------------... |
; A233932: Irregular table read by rows: T(n,k) is the binary representation of n shifted right k times and incremented if the last bit shifted away was set.
; Submitted by Jon Maiga
; 1,1,1,2,1,2,1,1,3,1,1,3,2,1,4,2,1,4,2,1,1,5,2,1,1,5,3,1,1,6,3,1,1,6,3,2,1,7,3,2,1,7,4,2,1,8,4,2,1,8,4,2,1,1,9,4,2,1,1,9,5,2,1,1,10,5,2,... |
#include "BaseLibInternals.h"
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2011, 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
; w... |
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... |
// -------------------------------------------------------------------------------------------------
// Copyright 2017 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... |
MOVIL rsp 0xFF # rsp is 0xFF (0b1111_1111)
MOVIL r0 0x1F
MOVIL r1 0x1E
PUSH r0 # Push 0x1F onto stack
PUSH r1 # Push 0x1E onto stack
POP r2 # Pop 0x1E off stack into r2
MOVIL r9 0x0F
STORE r9 r2 # Mem[0x0F] = 0x1E
POP r3 # Pop 0x1F off stack into r3
SUBI r9 1
STORE r9 ... |
; A125266: Number of repetitions in A007918.
; 3,1,2,2,4,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,14,4,6,2,10,2,6,6,4,6,6,2,10,2,4,2,12,12,4,2,4,6,2,10,6,6,6,2,6,4,2,10,14,4,2,4,14,6,10,2,4,6,8,6,6,4,6,8,4,8,10,2,10,2,6,4,6,8,4,2,4,12,8,4,8
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
add $0,$3
sub $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.
//
//===----------------------------------------... |
/******************************************************************************
* Copyright 2017 The Apollo Authors. 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
... |
; HEADER
.inesprg 2 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring
; ZEROPAGE
nmi_lock: .rs 1 ; prevents NMI re-entry
nmi_count: .rs 1 ; is incremented every NMI
nmi_ready: .rs 1 ; set... |
Name: zel_enmy21.asm
Type: file
Size: 170031
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: A3C269FF1957D1B5B2401F412974B37F0E9E863F
Description: null
|
; A169104: Number of reduced words of length n in Coxeter group on 43 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I.
; 1,43,1806,75852,3185784,133802928,5619722976,236028364992,9913191329664,416354035845888,17486869505527296,734448519232146432,30846837807750150144,1295567187925506306048,544138218928712648540... |
; A180597: Digital root of 7n.
; 0,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8,6,4,2,9,7,5,3,1,8
mul $0,16
sub $0,1
mod $0,9
add $0,1
mov $1,$0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.