text
stringlengths
1
1.05M
; A171528: Denominator of (n-th composite/n). ; Submitted by Jon Maiga ; 1,1,3,4,1,1,1,8,9,5,11,4,13,7,3,8,17,9,19,5,7,11,23,2,25,2,27,2,29,2,31,2,33,17,35,9,37,38,39,40,41,7,43,44,45,46,47,12,49,5,17,26,53,27,5,28,57,58,59,5,61,31,21,8,13,66,67,68,69,14 mov $1,$0 seq $1,64814 ; Greatest common divisor of n and the n-...
; A264449: a(n) = n*(n + 7)*(n + 14)*(n + 21)*(n + 28)/120. ; 0,638,1656,3162,5280,8151,11934,16807,22968,30636,40052,51480,65208,81549,100842,123453,149776,180234,215280,255398,301104,352947,411510,477411,551304,633880,725868,828036,941192,1066185,1203906,1355289,1521312,1702998,1901416,2117682 mov $2,$0 mov $3,7 mov...
; ; Get the OSCA Architecture current bank ; by Stefano Bodrato, 2011 ; ; void set_bank(int bank); ; ; Sets which of the 32KB banks is mapped into address space $8000-$ffff ; bank = required bank (range: 0 - max_bank) ; ; $Id: set_bank.asm,v 1.5 2016-06-22 22:13:09 dom Exp $ ; INCLUDE "flos.def" SECTION c...
SafariZoneRestHouse1Script: jp EnableAutoTextBoxDrawing SafariZoneRestHouse1TextPointers: dw SafariZoneRestHouse1Text1 dw SafariZoneRestHouse1Text2 SafariZoneRestHouse1Text1: TX_FAR _SafariZoneRestHouse1Text1 db "@" SafariZoneRestHouse1Text2: TX_FAR _SafariZoneRestHouse1Text2 db "@"
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-03-24 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
MAX_LEVEL EQU 100 NUM_MOVES EQU 4 NUM_STATS EQU 5 NUM_STAT_MODS EQU 8 NUM_DVS EQU 2 PARTY_LENGTH EQU 6 MONS_PER_BOX EQU 20 NUM_BOXES EQU 12 BAG_ITEM_CAPACITY EQU 20 PC_ITEM_CAPACITY EQU 50 HOF_MON EQU $10 HOF_TEAM EQU PARTY_LENGTH * HOF_MON HOF_TEAM_CAPACITY EQU 50 NAME_LENGTH...
; A254759: Part of the positive proper solutions y of the Pell equation x^2 - 2*y^2 = - 7^2 based on the fundamental solution (x0, y0)= (1, 5). ; 5,17,97,565,3293,19193,111865,651997,3800117,22148705,129092113,752403973,4385331725,25559586377,148972186537,868273532845,5060669010533,29495740530353,171913774171585,100198...
module pletter MACRO MGBIT add a,a call z,getbit ENDM MACRO MGBITEXX add a,a call z,getbitexx ENDM _unpack: ld a,(hl) inc hl exx ld de,0 add a,a inc a rl e add a,a rl e add a,a rl e rl e ld hl,_modes add hl,de ld e,...
; A268644: a(n) = 4*n^3 - 3*n^2 - 2*n - 1. ; -1,-2,15,74,199,414,743,1210,1839,2654,3679,4938,6455,8254,10359,12794,15583,18750,22319,26314,30759,35678,41095,47034,53519,60574,68223,76490,85399,94974,105239,116218,127935,140414,153679,167754,182663,198430,215079,232634,251119 mov $2,1 add $2,$0 pow $2,3 mov $4,$0 sub ...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D22 move.l D0, (A4)+ 004D24 move.l D0, (A4)+ 018A28 tst.b ($516,A5) 018A2C bne $18a70 [base+516] 08C020 move.b #$1, ($516,A5) 08C026 move.w #$0, ($14,A6) [base+516] 08C852 clr.b ($516,A5...
db DEX_VAPOREON ; pokedex id db 130 ; base hp db 65 ; base attack db 60 ; base defense db 65 ; base speed db 110 ; base special db WATER ; species type 1 db WATER ; species type 2 db 33 ; catch rate db 196 ; base exp yield INCBIN "pic/ymon/vaporeon.pic",0,1 ; 66, sprite dimensions dw VaporeonPicFront dw VaporeonPicBack...
#include "CommandLogout.h" #include <boost/algorithm/string.hpp> using internationalization::Internationalization; std::string CommandLogout::executePromptReply(const std::string& connectionID, const std::vector<std::string>& fullCommand) { auto username = onlineUserManager.getUsernameFromConnectionID(connectionID);...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Video driver FILE: simp4bitManager.asm AUTHOR: Jim DeFrisco REVISION HISTORY: Name Date Description ---- ---- ----------- Jim 12/91 ini...
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2020 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
#include "CPU.asm" ; addr = 0xC000 + row/8+col*10; value is in bit 1 << row%8 #bank rom top: cal clear_screen ;write_screen_imm 40, 50, 1 ;sti 0, row_num ;sti 0, col_num ;draw: ;lda row_num ;sta screen.row_num ;lda col_num ;sta screen.col_num ;cal set_scr...
/* * Copyright (c) 2017, Intel Corporation * * 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, including without limitation * the rights to use, copy, modify, merge, publi...
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/SimpleTypes.hpp> #include <RED4ext/Types/generated/Vector4.hpp> #include <RED4ext/Types/generated/world/Node.hpp> namespace RED4ext { namespac...
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; klib.asm ; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; Forrest Yu, 2005 ; ++++++++++++++++++++++++++++++++++++++++++++++++++++++...
#pragma once #include <boost/filesystem.hpp> #include "store.common/src/logger.hpp" #include "store.common/src/spdlogger.hpp" #include "store.storage.pgsql/src/pg_client.hpp" #include "json.hpp" #include "test_fixtures.hpp" using namespace std; using namespace store::storage::pgsql; using namespace test::fixtures; us...
; 32-bit subtraction test ; done by sy2002 in January 2016 .ORG 0x8000 #include "../dist_kit/sysdef.asm" #include "../dist_kit/monitor.def" MOVE IO$TIL_DISPLAY, R10 MOVE 0, R1 MOVE 80, R0 MOVE 0, R3 MOVE ...
// Copyright 2021 The IREE Authors // // Licensed 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 #include "iree/compiler/Codegen/LLVMGPU/ConvertToLLVM.h" #include "iree/compiler/Codegen/PassDeta...
[BITS 16] global apm_power_off apm_power_off: ;mov ax,5301h ; connect real mode interface ;sub bx,bx ;int 15h sti mov ax, 0x1000 mov ax, ss mov sp, 0xf000 mov ax, 0x5307 mov bx, 0x0001 mov cx, 0x0003 int 0x15
; A069268: Greatest common divisor of n! and n*(n+1)/2. ; Submitted by Jamie Morken(s3.) ; 1,1,6,2,15,3,28,36,45,5,66,6,91,105,120,8,153,9,190,210,231,11,276,300,325,351,378,14,435,15,496,528,561,595,630,18,703,741,780,20,861,21,946,990,1035,23,1128,1176,1225,1275,1326,26,1431,1485,1540,1596,1653,29,1770,30,1891,1953,2...
; DV3 Standard Floppy Disk write Sector  1998 Tony Tebby section dv3 xdef fd_wdirect ; direct sector write xdef fd_wsint ; write sector (internal) xref fd_hold ; reserve the controller xref fd_release ; release the controller xref fd_select ; select drive xref fd_ckrw ; read root sector and c...
; A306721: a(n) = Sum_{k=0..n} binomial(k, 7*(n-k)). ; 1,1,1,1,1,1,1,1,2,9,37,121,331,793,1717,3433,6437,11456,19569,32505,53449,89149,155041,286825,564929,1163317,2442210,5117225,10558381,21308121,41973391,80778601,152344397,282855561,520060249,953217792,1753553441,3256528177,6127896977,11694334137,22590970049,4400869...
; int ba_stack_pop(ba_stack_t *s) SECTION code_adt_ba_stack PUBLIC ba_stack_pop defc ba_stack_pop = asm_ba_stack_pop INCLUDE "adt/ba_stack/z80/asm_ba_stack_pop.asm"
#include "catch2/catch.hpp" #include "share/scream_types.hpp" #include "ekat/ekat_pack.hpp" #include "ekat/kokkos/ekat_kokkos_utils.hpp" #include "physics/p3/p3_functions.hpp" #include "physics/p3/p3_functions_f90.hpp" #include "p3_unit_tests_common.hpp" namespace scream { namespace p3 { namespace unit_test { templ...
;=============================================================================== ; Copyright 2020-2021 Intel Corporation ; ; 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.apa...
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
DATA SEGMENT BUFF DB 3 DUP (?), '$' DATA ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA START: MOV AX, DATA MOV DS, AX MOV AH, 08H INT 21H ; 读入一个字符(无回显) MOV BUFF[1], AL SUB AL, 1 MOV BYTE PTR BUFF, AL ADD AL, 2 MOV BUFF[2], AL XOR DX, DX MOV AH, 9 INT 21H MOV AH, 4CH INT 21H CODE ENDS END START
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: int8087.asm AUTHOR: jimmy lefkowitz REVISION HISTORY: Name Date Description ---- ---- ----------- jimmy 10/ 2/92 Initial version. DESCRI...
; SYSSR.ASM ; ; Microsoft Confidential ; Copyright (c) Microsoft Corporation 1991 ; All Rights Reserved INCLUDE SYSHDR.INC ; include SYSMSG.INC .xlist .xcref include SYSMSG.INC ; ;AN000; .cref .list MSG_UTILNAME <SYS> ; ;AN000; CODE SEGMENT PARA PUBLIC ASSUME CS:CODE,DS:nothing,ES:noth...
.include "8515def.inc" .equ PILA = 0x7F ; RAM -------------------------- .DSEG .org PILA+1 .CSEG .org 0 rjmp RESET reti reti RESET: ; Poner PILA: ldi r16, PILA out SPL, r16 ; RAM externa: ldi r16, 0xC0 out MCUCR, r16 ; LED como salida en PD5 s...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>mbind(addr, length, mode, nodemask, maxnode, flags) -> str Invokes the syscall mbind. See 'man 2 mbind' for more information. Arguments: addr(void*): addr len(unsigned): len mode(int): mode ...
.386p .model Tiny MBR_BUFFER_SEG EQU 6000H NEWMBR_BUFFER_SEG EQU 6200H FLAG_SECTOR_SEG EQU 6400H FONT_SECTOR_SEG EQU 6600H LOADER_BUFFER_SEG EQU 7000H KERNEL_BUFFER_SEG EQU 8000h SETUP_SECTOR_LIMIT EQU 1000H INSTALL_FLAG EQU 00474a4ch BAKMBR_SECTOR_OFFSET EQU 1 BAKMBR2_SECTOR_OFFSET EQU 2 FONT_SECTOR_OFFSET ...
; void bit_fx_di(void *effect) SECTION code_clib SECTION code_sound_bit PUBLIC bit_fx_di EXTERN asm_bit_fx_di defc bit_fx_di = asm_bit_fx_di
// // version.hpp // ~~~~~~~~~~~ // // Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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_ASIO_VERSION_HPP #de...
; A158038: Difference between n-th prime and next cube. ; 6,5,3,1,16,14,10,8,4,35,33,27,23,21,17,11,5,3,58,54,52,46,42,36,28,24,22,18,16,12,89,85,79,77,67,65,59,53,49,43,37,35,25,23,19,17,5,120,116,114,110,104,102,92,86,80,74,72,66,62,60,50,36,32,30,26,12,6,165,163,159,153,145,139,133,129,123,115,111,103,93,91,81,79,73...
;-------------------------------------------------------------- ; HRG screen effects ; for the ZX81 ;-------------------------------------------------------------- ; ; Shift left the TV picture in hrg mode ; ; Stefano - Oct 2011 ; ; ; $Id: hrg_tune_right.asm,v 1.1 2011/11/02 14:24:33 stefano Exp $ ; ...
; A001027: Powers of 18. ; 1,18,324,5832,104976,1889568,34012224,612220032,11019960576,198359290368,3570467226624,64268410079232,1156831381426176,20822964865671168,374813367582081024,6746640616477458432,121439531096594251776,2185911559738696531968,39346408075296537575424,708235345355337676357632,12748236216396078174437...
.byte $01 ; Unknown purpose .byte OBJ_FLYINGGREENPARATROOPA, $10, $16 .byte OBJ_ENDLEVELCARD, $28, $15 .byte $FF ; Terminator
; A115181: Beatty sequence for (Cc/(Cc-1)) with Cc = 1.234567891011121314... = 10*(Champernowne constant). ; 5,10,15,21,26,31,36,42,47,52,57,63,68,73,78,84,89,94,100,105,110,115,121,126,131,136,142,147,152,157,163,168,173,178,184,189,194,200,205,210,215,221,226,231,236,242,247,252,257,263,268,273,278,284,289,294 mov $...
; A133384: Numbers with n 0's between 1 and 2. ; 12,102,1002,10002,100002,1000002,10000002,100000002,1000000002,10000000002,100000000002,1000000000002,10000000000002,100000000000002,1000000000000002,10000000000000002,100000000000000002,1000000000000000002,10000000000000000002,100000000000000000002,100000000000000000000...
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2013 MetaScale SAS // // Distributed under the Boost...
/**************************************************************************** ** Meta object code from reading C++ file 'macdchart.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0) ** ** WARNING! All changes made in this file will be lost! ***********************************************************...
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; Copyright © 2018, VideoLabs ; 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 c...
global start section .text bits 32 start: mov esp, stack_top ;doing multiboot compliant checks, mb, CPUID, long mode. call check_multiboot call check_cpuid call check_long_mode ; print OK to the screen mov dword [0xb8000], 0x2f4b2f4f hlt ;ERR procedure error: mov dword [0xb8000], 0x4f524f45 mov dword [0xb...
//===-------- FrontendSourceFileDepGraphFactory.cpp -----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
; 10 SYS (49152) *=$0801 BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $32, $29, $00, $00, $00 jsr $e544 rts
.386 .model flat,stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\user32.inc includelib \masm32\lib\user32.lib .data BUFFER_LENGTH EQU 1024 szMessageBoxFormat BYTE "The result is %d", 0 szMessageBoxText BYTE 0 dup(BUFFER_LENGTH) finish_num EQU 10 .code star...
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 ALIGN 16 _vpaes_encrypt_core: mov r9,rdx mov r11,16 mov eax,DWORD[240+rdx] movdqa xmm1,xmm9 movdqa xmm2,XMMWORD[$L$k_ipt] pandn xmm1,xmm0 movdqu xmm5,XMMWORD[r9] psrld xmm1,4 pand xmm0,xmm9 DB 102,15,56,0...
; A201812: Number of arrays of 4 integers in -n..n with sum zero and equal numbers of elements greater than zero and less than zero. ; 19,61,151,313,571,949,1471,2161,3043,4141,5479,7081,8971,11173,13711,16609,19891,23581,27703,32281,37339,42901,48991,55633,62851,70669,79111,88201,97963,108421,119599,131521,144211,1576...
; A195234: Number of lower triangles of a 4 X 4 0..n array with each element differing from all of its diagonal, vertical, antidiagonal and horizontal neighbors by one or less. ; 1024,3151,5428,7705,9982,12259,14536,16813,19090,21367,23644,25921,28198,30475,32752,35029,37306,39583,41860,44137,46414,48691,50968,53245,55...
/* * DynBFS.h * * Created on: 17.07.2014 * Author: cls, ebergamini */ #ifndef DYNBFS_H_ #define DYNBFS_H_ #include <networkit/distance/DynSSSP.hpp> namespace NetworKit { /** * @ingroup distance * Dynamic breadth-first search. */ class DynBFS final : public DynSSSP { public: /** * Creates the obj...
/* * Copyright 1999-2000,2004 The Apache Software Foundation. * * 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 * * Unle...
#pragma once class IPizzaConsumer { public: IPizzaConsumer() = default; virtual ~IPizzaConsumer() {} virtual bool WantsPizza() const = 0; };
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="pid, stat_loc, options, usage"/> <%docstring> Invokes the syscall wait4. See 'man 2 wait4' for more information. Arguments: pid(pid_t): pid stat_loc(WAIT_STATUS): stat_loc options(int): options usage(rusage): usage </%docstring> ...
GymStatues: ; if in a gym and have the corresponding badge, a = GymStatueText2_id and jp PrintPredefTextID ; if in a gym and don't have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID ; else ret call EnableAutoTextBoxDrawing ld a, [wSpritePlayerStateData1FacingDirection] cp SPRITE_FACING_UP ...
section .text align=64 foo: nop nop nop ret section .data align=64 bar: db 0, 1, 2 section .text align=32 baz: nop nop nop ret
SECTION code_clib PUBLIC pixeladdress EXTERN zx_rowtab INCLUDE "graphics/grafix.inc" ; ; $Id: pixladdr2.asm,v 1.5 2016/04/22 20:17:17 dom Exp $ ; ; ; ****************************************************************** ; ; IT IS SLOWER THAN THE DEFAULT ONE ! 124 vs 104 Cycles !! ; ; ****************************...
SECTION code_fp_am9511 PUBLIC cam32_sccz80_fdiv2 EXTERN cam32_sccz80_read1, asm_am9511_fdiv2_fastcall .cam32_sccz80_fdiv2 call cam32_sccz80_read1 jp asm_am9511_fdiv2_fastcall
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
/* 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...
; A189782: n+[nr/t]+[ns/t]; r=pi/2, s=arcsin(8/17), t=arcsin(15/17). ; 2,4,8,10,14,16,20,22,26,28,30,34,36,40,42,46,48,52,54,58,60,62,66,68,72,74,78,80,84,86,90,92,94,98,100,104,106,110,112,116,118,122,124,126,130,132,136,138,142,144,148,150,154,156,158,162,164,168,170,174,176,180,182,186,188,190,194,196,200,202,206,20...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "%d %d %d %s\n", l, w, c, name); } int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi 4: 56 p...
; A024868: a(n) = 2*(n+1) + 3*n + ... + (k+1)*(n+2-k), where k = [ n/2 ]. ; 6,8,22,27,52,61,100,114,170,190,266,293,392,427,552,596,750,804,990,1055,1276,1353,1612,1702,2002,2106,2450,2569,2960,3095,3536,3688,4182,4352,4902,5091,5700,5909,6580,6810,7546,7798,8602,8877,9752,10051,11000,11324,12350,12700,13806,14183,1537...
// Adds 1 + ... + 100 @i M=1 // i=1 @sum M=0 // sum=0 (LOOP) @i D=M // D=i @100 D=D-A // D=i-100 @END D;JGT // if (i-100)>0 goto END @i D=M // D=i @sum M=D+M // sum=sum+i @i M=M+1 // i=i+1 @LOOP 0;JMP // goto LOOP (END) @END 0;JMP // infinite loop
.globl Tela11 Tela11: addi $10, $0, 0xcff8cf sw $10, 268500992($0) addi $10, $0, 0x00d800 sw $10, 268500996($0) addi $10, $0, 0x00d800 sw $10, 268501000($0) addi $10, $0...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="flags"/> <%docstring> Invokes the syscall unshare. See 'man 2 unshare' for more information. Arguments: flags(int): flags </%docstring> ${syscall('SYS_unshare', flags)}
db 0 ; 264 DEX NO db 78, 70, 61, 100, 50, 61 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 90 ; catch rate db 128 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/hoenn/linoone/front...
; ; BIOS symbols ; CHKRAM: equ 00H SYNCHR: equ 08H RDSLT: equ 0CH CHRGTR: equ 10H WRSLT: equ 14H OUTDO: equ 18H CALSLT: equ 1CH DCOMPR: equ 20H ENASLT: equ 24H GETYPR: equ 28H IDBYT0: equ 2BH IDBYT1: equ 2CH IDBYT2: equ 2DH IDBYT3: equ 2EH CALLF: equ 30H KEYINT: equ 38H INITIO: equ 3BH INIFNK: equ 3EH DISSCR: equ 41H E...
LoadMonData_: ; Load monster [wWhichPokemon] from list [wMonDataLocation]: ; 0: partymon ; 1: enemymon ; 2: boxmon ; 3: daycaremon ; Return monster id at wcf91 and its data at wLoadedMon. ; Also load base stats at wMonHeader for convenience. ld a, [wDayCareMonSpecies] ld [wcf91], a ld a, [wMonDataLocation] cp ...
; A319588: First of three consecutive triangular numbers that add up to a perfect square. ; Submitted by Jon Maiga ; 0,15,105,2016,11628,203203,1152921,19968040,113108320,1957220895,11084786065,191793185496,1086209028828,18793829460003,106437529743441,1841604033412080,10429792989769440,180458406785594575,10220132881773...
; A047369: Numbers that are congruent to {1, 2, 3, 4, 5} mod 7. ; 1,2,3,4,5,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29,30,31,32,33,36,37,38,39,40,43,44,45,46,47,50,51,52,53,54,57,58,59,60,61,64,65,66,67,68,71,72,73,74,75,78,79,80,81,82,85,86,87,88,89,92,93,94,95,96,99,100,101,102,103,106,107,108,109,110,113,114,115,...
; int getc_fastcall(FILE *stream) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _getc_fastcall EXTERN _fgetc_fastcall defc _getc_fastcall = _fgetc_fastcall ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ELSE ;;...
; A078642: Numbers with two representations as the sum of two Fibonacci numbers. ; 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,29860704,48315634,78176338,126491972,204668310,331160282,...
//this code pre-renders dynamic names on game loading and character naming. //note that "Fahrenheit" is not rendered, as it's not used in 8x8 menus anywhere, //and because there isn't enough room in the $33 SRAM bank for it. namespace names { seek(codeCursor) namespace buffer { constant origin = $336000 //$1f80 b...
;; ;; Copyright (c) 2012-2018, 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...
; A032920: Numbers whose set of base-13 digits is {1,3}. ; Submitted by Jamie Morken(s4) ; 1,3,14,16,40,42,183,185,209,211,521,523,547,549,2380,2382,2406,2408,2718,2720,2744,2746,6774,6776,6800,6802,7112,7114,7138,7140,30941,30943,30967,30969,31279,31281,31305,31307,35335,35337,35361,35363,35673,35675,35699,35701,88063...
#include <algorithm> #include <catch.hpp> #include <cauldron/booleans.h> #include <cauldron/integers.h> #include <cauldron/sets.h> #include <tests/predicates.h> #include <tests/globals.h> TEST_CASE("booleans \"Sets\" strategy", "[Sets]") { cauldron::Requirement<std::set<bool>> is_false_set( [&](const std::s...
; A082655: Number of distinct letters needed to spell English names of numbers 1 through n. ; 3,5,7,9,11,13,13,14,14,14,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16 mul $0,2 mov $2,2 mul $2,$0 sub...
; ***************************************************************************** ; ***************************************************************************** ; ; Name: for.asm ; Purpose: For/Next ; Created: 10th March 2020 ; Reviewed: 17th March 2020 ; Author: Paul Robson (paul@robsons.org.uk) ; ; ***********...
// dbclient.cpp - connect to a Mongo database as a database, from C++ /* Copyright 2009 10gen 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....
ADD A,E JR NC,1F INC D 1 LD E,A 2 LD B,4 LD A,(DE) OUT (152),A DJNZ 2B MACRO zing DUP 2 JR 1F 1 DJNZ 1B EDUP ENDM .4 zing
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_TemporalInmobilize_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------------...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x10cd, %r11 nop nop nop xor %r12, %r12 mov (%r11), %r9 nop nop nop nop nop add %r13, %r13 lea addresses_A_ht+0x199ed, %rsi lea addresses_D_ht+0x13b4f, %rdi nop xor %rdx, %rdx ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x88, %rbx nop nop add $371, %r15 movw $0x6162, (%rbx) nop and $4913, %r11 lea addresses_D_ht+0x11794, %rsi lea addresses_WC_ht+0x8934, %rdi nop sub $51990, %r11 mov $82, %rcx...
-- HUMAN RESOURCE MACHINE PROGRAM -- a: INBOX COPYTO 0 b: c: INBOX JUMPZ e SUB 0 JUMPN d JUMP b d: ADD 0 COPYTO 0 JUMP c e: COPYFROM 0 OUTBOX JUMP a
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rdi push %rsi lea addresses_normal_ht+0x1a8f7, %rdi nop nop nop nop nop and %r9, %r9 vmovups (%rdi), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $0, %xmm0, %rsi nop nop nop nop inc %r13 pop %rsi pop %rdi pop %r9 pop %r13 ret .global s_faulty_loa...
global getRAX global getRBX global getRCX global getRDX global getRSI global getRDI global getRBP global getRSP global getR8 global getR9 global getR10 global getR11 global getR12 global getR13 global getR14 global getR15 global getRIP global getCS global getDS global getES global getFS global getGS global getSS global...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
; Assembly for testinput-bytecode.bas ; compiled with mcbasic ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of console ;...
; A325153: A column of triangle A322220; a(n) = A322220(n,1) for n >= 1. ; 1,5,33,277,2465,22149,199297,1793621,16142529,145282693,1307544161,11767897365,105911076193,953199685637,8578797170625,77209174535509,694882570819457,6253943137374981,56285488236374689,506569394127372053,4559124547146348321,41032120924317134725,...
; 16-bit Fibonacci Number Generator for v8cpu ; Vanya A. Sergeev - vsergeev@gmail.com ; 16-bit Fibonacci Numbers are computed and written sequentially across port A (high byte) and port B (low byte) ; ; R0:R1 = Fn-2 ; R2:R3 = Fn-1 ; R4:R5 = Fn ; R0:R1, R2:R3 initialize to 0 ; Initialize R4:R5 to 0x0001 mov R4, 0x00 mo...
// Copyright 2017 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 "third_party/blink/renderer/core/css/properties/longhands/column_rule_style.h" namespace blink { namespace CSSLonghand { const CSSValue* Column...
musicChan2RumiaTheme:: setRegisters $A5, $F4, $00, $00 .loop: repeat 2 setFrequency NOTE_F * 2, $80 wait DOTTED_QUAVER setFrequency NOTE_Eb * 2, $80 wait QUAVER setFrequency NOTE_Bb, $80 wait SEMIQUAVER setFrequency NOTE_C * 2, $80 wait SEMIQUAVER setFrequency NOTE_Ab, $80 wait SEMIQUAVER setFrequency NOT...
;//////////////////////////////////////////////////////////////////////////////////////////////////////// ;// Part of Injectable Generic Camera System ;// Copyright(c) 2020, Frans Bouma ;// All rights reserved. ;// https://github.com/FransBouma/InjectableGenericCameraSystem ;// ;// Redistribution and use in source and ...
#include "ship.hpp" #include <glm/gtx/fast_trigonometry.hpp> #include <glm/gtx/rotate_vector.hpp> void Ship::initializeGL(GLuint program) { terminateGL(); m_program = program; m_colorLoc = glGetUniformLocation(m_program, "color"); m_rotationLoc = glGetUniformLocation(m_program, "rotation"); m_scaleLoc = gl...
Name: ys_mini2_final.asm Type: file Size: 31161 Last-Modified: '2016-05-13T04:50:34Z' SHA-1: 10E4D1396F88F91EBF9A83F0EB0C2B2ED4ADD075 Description: null