text
stringlengths
1
1.05M
db DONPHAN ; 232 db 90, 120, 120, 50, 60, 60 ; hp atk def spd sat sdf db GROUND, GROUND ; type db 60 ; catch rate db 189 ; 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/donphan/front.dimensi...
; A009005: All natural numbers except 1, 2 and 4. ; 3,5,6,7,8,9,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,75,76,77 pow $2,$0 pow $1,$2 add $1,$0 add $1,3
; ; Spectrum C Library ; ; ANSI Video handling for ZX Spectrum ; ; BEL - chr(7) Beep it out ; ; ; Stefano Bodrato - Apr. 2000 ; ; ; $Id: f_ansi_bel.asm,v 1.2 2015/01/19 01:33:19 pauloscustodio Exp $ ; PUBLIC ansi_BEL .ansi_BEL ret
/******************************************************************************* * Copyright 2019-2020 FUJITSU LIMITED * * 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...
_chmod: file format elf32-i386 Disassembly of section .text: 00000000 <main>: int atoo(const char * s); int main(int argc,char * argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
; A186324: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the squares and octagonal numbers. Complement of A186325. ; 1,3,5,6,8,9,11,12,14,16,17,19,20,22,23,25,27,28,30,31,33,35,36,38,39,41,42,44,46,47,49,50,52,53,55,57,58,60,61,63,65,66,68,69,71,72,74,76,77,7...
; A190125: If n = product(p_i^e_i), a(n) = product((p_i^e_i)^(p_i^e_i)). ; Submitted by Jon Maiga ; 1,4,27,256,3125,108,823543,16777216,387420489,12500,285311670611,6912,302875106592253,3294172,84375,18446744073709551616,827240261886336764177,1549681956,1978419655660313589123979,800000,22235661,1141246682444 add $0,1 ...
; A184047: 1/9 the number of (n+1) X 9 0..2 arrays with all 2 X 2 subblocks having the same four values. ; Submitted by Jon Maiga ; 561,567,577,597,633,705,841,1113,1641,2697,4777,8937,17193,33705,66601,132393,263721,526377,1051177,2100777,4198953,8395305,16785961,33567273,67125801,134242857,268468777,536920617,1073807...
section sprite xdef mes_invisible mes_invisible dc.w $0100,$0000 ;form, time/adaption dc.w $0001,$0001 ;x size, y size dc.w $0000,$0000 ;x origin, y origin dc.l cp1-* ;pointer to colour pattern dc.l pm1-* ;pointer to pattern mask dc.l 0 ;pointer to next definition ...
obj/__user_pgdir.out: 文件格式 elf32-i386 Disassembly of section .text: 00800020 <__panic>: #include <stdio.h> #include <ulib.h> #include <error.h> void __panic(const char *file, int line, const char *fmt, ...) { 800020: 55 push %ebp 800021: 89 e5 mov %esp,%ebp 800023:...
/* Copyright 2019 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...
; A318934: Numbers whose binary expansion begins with exactly two 1's. ; 3,6,12,13,24,25,26,27,48,49,50,51,52,53,54,55,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,384,385,386,3...
#pragma once #include <atomic> #include <mutex> #include <queue> #include "common.hpp" #include "components/eventloop.hpp" #include "components/types.hpp" #include "events/signal_fwd.hpp" #include "events/signal_receiver.hpp" #include "settings.hpp" #include "utils/actions.hpp" #include "utils/file.hpp" #include "x11...
/* Sirikata liboh -- Ogre Graphics Plugin * OgreSystem.hpp * * Copyright (c) 2009, Daniel Reiter Horn * 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 sour...
// Test typeid() of the different types // Commodore 64 PRG executable file .file [name="typeid-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 :BasicUpstar...
BITS 64 [global x86_read_cr0] [global x86_write_cr0] [global x86_read_cr3] [global x86_write_cr3] [global x86_io_stall] x86_read_cr0: mov rax, cr0 mov cr0, rax ret x86_write_cr0: mov cr0, rdi ret x86_read_cr3: mov rax, cr3 mov cr3, rax ret x86_write_cr3: mov cr3, rdi ret x86_io_stall: ; do what that o...
// Copyright 2019, Intel Corporation #include "pmlc/util/interfaces.h" namespace pmlc::util { #include "pmlc/util/interfaces.cc.inc" } // namespace pmlc::util
; A016922: a(n) = (6*n+1)^2. ; 1,49,169,361,625,961,1369,1849,2401,3025,3721,4489,5329,6241,7225,8281,9409,10609,11881,13225,14641,16129,17689,19321,21025,22801,24649,26569,28561,30625,32761,34969,37249,39601,42025,44521,47089,49729,52441,55225,58081,61009,64009,67081,70225,73441,76729,80089,83521,87025,90601,94249,979...
/*************************************************************************/ /* transform.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1a50e, %rbx dec %rax vmovups (%rbx), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $1, %xmm2, %rbp nop add $43387, %rbp lea addresses_D_ht+0x1b83b, %rbx nop nop nop n...
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2007 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
.size 8000 .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld b, 90 call lwaitly_b ld hl, fe00 ld b, 08 xor a, a lbegin_initoam: inc a ld(hl++), a dec b jrnz lbegin_initoam ld a, fe ldff(51), a ld a, 00 ldff(52), a ld a, 80 ldff(53), a xor a, a ldff(54), a ldff(55), a ld hl, fe07 ld de, 8007...
//-*- coding: utf-8 -*- // stjohnscollege.edu // - lost event because we changed the implied sections algo and no // longer adds the address and store hours as a single implied section // - probably should write this one off // ingramhillusic.com // stop it from teltescoping to the month/year pairs in the blog ro...
; A267068: a(n) = (n+1) / A189733(n). ; 1,2,3,2,5,1,7,2,3,2,11,1,13,2,3,2,17,1,19,2,3,2,23,1,25,2,3,2,29,1,31,2,3,2,35,1,37,2,3,2,41,1,43,2,3,2,47,1,49,2,3,2,53,1,55,2,3,2,59,1,61,2,3,2,65,1,67,2,3,2 add $0,1 mov $2,6 mov $3,$0 mov $4,$0 lpb $3 gcd $0,$2 mov $5,$4 lpb $5 mov $3,1 mov $6,$0 div $0,$2 ...
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 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 source code must retain the above copyr...
public _vga_palettes public _vga_palettes_end _vga_palettes: incbin "data/palette.dat" _vga_palettes_end:
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/game/IGameAudioSystem.hpp> namespace RED4ext { namespace game { struct GameAudioSystem : game::IGameAudioSystem { static constexpr const char* NAM...
; gut_exvt Check for one or two exceptions  Tony Tebby 1993 ; Check for bus error ; Check for illegal instruction section gen_util xdef gu_exvt xdef gu_wbuse xdef gu_rbuse xdef gu_exii xref sms_wbase include 'dev8_keys_68000' gbt_rba2 tst.b (a2) ; simple test for bus error rts gbt_wba2 ...
include "../constants.asm" org #0000 skybox: db 0 texture_set: db 0 floortypeandcolor: ; db 0 db #e0 ceilingtypeandcolor: ; db 0 db #f0 map: db 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 db 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 db 8,8,8,8,8,8,8,5,8,8,8,8,8,8,8,8 db 8,8,8,8,8,9,8,0,8,9,8,8,8,...
; Codigo em assembly que faz o acionamento retentivo de um led, agora na porta A, dois botões devem somar e subtrair o valor da porta B. Ou seja, um botão ao ser clicado deve somar 1 ao valor da porta B e o outro deve subtrair. INCLUDE<P16F84A.INC> #DEFINE BOTAO0 PORTA,0 ;define o pino 0 de A co...
.segment "CODE" ; this is like a x = y call where x is set to the value of y .macro set set_var, from lda from sta set_var .endmacro ; this procedure will loop until the next vblank .proc wait_for_vblank bit PPU_STATUS ; $2002 vblank_wait: bit PPU_STATUS ; $2002 bpl vblank_wait ...
#include <bits/stdc++.h> typedef signed long long ll; #define FOR(x, to) for (x = 0; x < (to); ++x) #define FORR(x, arr) for (auto &x : arr) #define LSBIT(x) ((x) & -(x)) using namespace std; ll MAXQ = 1e10; unordered_set<ll> getFib() { unordered_set<ll> res = {0}; ll a = 0, b = 1, t; while (b...
// license:BSD-3-Clause // copyright-holders:Nicola Salmoria /* Taito TC0480SCP --------- Tilemap generator. Manages four background tilemaps with 16x16 tiles fetched from ROM, and one foreground text tilemap with 8x8 tiles fetched from RAM. All four background tilemaps support zooming and rowscroll, and two of them ad...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void srand(unsigned int seed) ; ; Set standard random number generator seed. ; ; =============================================================== SECTION code_clib SECTION...
//============================================================================= /** * @file component_exs.cpp * * $Id: component_exs.cpp 95536 2012-02-20 12:34:23Z johnnyw $ * * Visitor generating code for Components in the exec impl source. * * * @author Jeff Parsons */ //=============================...
; A115180: Beatty sequence for (Champernowne constant)*10 = 1.234567891011121314.... ; 1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,20,22,23,24,25,27,28,29,30,32,33,34,35,37,38,39,40,41,43,44,45,46,48,49,50,51,53,54,55,56,58,59,60,61,62,64,65,66,67,69,70,71,72,74,75,76,77,79,80,81,82,83,85,86,87,88 trn $2,$0 seq $0,157961 ...
; A140766: a(n) = 6*a(n-1) - 6*a(n-2). ; 1,5,24,114,540,2556,12096,57240,270864,1281744,6065280,28701216,135815616,642686400,3041224704,14391229824,68100030720,322252805376,1524916647936,7215983055360,34146398444544,161582492335104,764616563343360,3618204426049536 mov $1,1 mov $2,$0 lpb $2,1 add $3,$1 mul $1,2 m...
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
SECTION rodata_font_fzx PUBLIC _ff_dkud1_Consul2 _ff_dkud1_Consul2: BINARY "font/fzx/fonts/dkud1/Consul/consul2.fzx"
// Copyright (c) 2011-2016 The Cryptonote developers // Copyright (c) 2014-2016 SDN developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "gtest/gtest.h" #include "EventWaiter.h" #include "Logging/ConsoleLogge...
; ******************************************************************* ; Lesson 9 - Timer0 ; ; Timer0 is a counter implemented in the processor. It may be used to count instruction ; cycles or external events, that occur at or below the instruction cycle rate. ; In the PIC18, Timer0 can be used as either an 8-bit or 16-...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="fn, child_stack, flags, arg, vararg"/> <%docstring> Invokes the syscall clone. See 'man 2 clone' for more information. Arguments: fn(int): fn child_stack(void): child_stack flags(int): flags arg(void): arg vararg(int): var...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include <cxxreact/JSBigString.h> #include <cxxreact/RAMBundleRegistry.h> #include "WebSocketJSExecutorUwp.h" #include <folly/dynamic.h> #include <folly/json.h> #include "Unicode.h" #include...
; SER / PRT procedures section procs xdef spp_procs include 'dev8_mac_proc' spp_procs proc_stt proc_def SER_USE proc_def SER_FLOW proc_def SER_BUFF proc_def SER_ROOM proc_def SER_CDEOF proc_def SER_CLEAR proc_def SER_ABORT proc_def SER_PAUSE proc_def PRT_USE proc_def PRT_BUFF proc_def PRT_CLEAR proc...
; A255843: a(n) = 2*n^2 + 4. ; 4,6,12,22,36,54,76,102,132,166,204,246,292,342,396,454,516,582,652,726,804,886,972,1062,1156,1254,1356,1462,1572,1686,1804,1926,2052,2182,2316,2454,2596,2742,2892,3046,3204,3366,3532,3702,3876,4054,4236,4422 pow $0,2 mov $1,$0 add $0,4 add $0,$1
@261 D=A @SP M=D (Sys.init) @4 D=A @0 A=M M=D @0 M=M+1 @56 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 @SP D=M @LCL M=D @6 D=D-A @ARG M=D @Main.fibonacci 0;JMP (Sys.init$WHILE) @Sys.init$WHILE 0;JMP (Main.fibonac...
; A008529: Coordination sequence for 4-dimensional face-centered cubic orthogonal lattice. ; 1,14,68,202,456,870,1484,2338,3472,4926,6740,8954,11608,14742,18396,22610,27424,32878,39012,45866,53480,61894,71148,81282,92336,104350,117364,131418,146552,162806,180220,198834,218688,239822,262276,286090,311304,337958,366092,3...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__delete_struct_static_06.cpp Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete.nonpointer.label.xml Template File: sources-sink-06.tmpl.cpp */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: static Data...
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018 Intel Corporation #ifndef OPENCV_GAPI_IMGPROC_TESTS_INL_HPP #define OPENCV_GAPI_IMGPROC_TESTS_INL_H...
;Lab: 2(a) ;Name: Jaggesher Mondal ;Roll: 14025423 .MODEL SMALL .STACK 100H .DATA MSG1 DB 0AH,"Please Input a Digit From 0 To 9=$" MSG2 DB 0AH,0DH,0AH,"The Input Digit Is ODD!$" MSG3 DB 0AH,0DH,0AH,"The Input Digit Is EVEN!$" X DB ? .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV AH,9;String Out ...
; -------- ; Helpers ; -------- macro cm_header(title) table ../resources/header.tbl db #$28, "<title>", #$FF table ../resources/normal.tbl endmacro macro cm_footer(title) table ../resources/header.tbl dw #$F007 : db #$28, "<title>", #$FF table ../resources/normal.tbl endmacro macro cm_versio...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file bulletMultiSphereShape....
; A175724: Partial sums of floor(n^2/12). ; 0,0,0,0,1,3,6,10,15,21,29,39,51,65,81,99,120,144,171,201,234,270,310,354,402,454,510,570,635,705,780,860,945,1035,1131,1233,1341,1455,1575,1701,1834,1974,2121,2275,2436,2604,2780,2964,3156,3356,3564,3780,4005,4239,4482,4734,4995,5265,5545,5835,6135,6445,6765,7095,7436,7788,81...
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput...
db DEX_KABUTO ; pokedex id db 30 ; base hp db 80 ; base attack db 90 ; base defense db 55 ; base speed db 45 ; base special db GROUND ; species type 1 db WATER ; species type 2 db 33 ; catch rate db 119 ; base exp yield INCBIN "pic/ymon/kabuto.pic",0,1 ; 55, sprite dimensions dw KabutoPicFront dw KabutoPicBack ; attack...
.headersize (G_ENTRYPOINT - 0x1000) .org G_ENTRYPOINT .area 0x60, 0 la t0, G_BOOT_ENTRYPOINT lui sp, 0x8078 jr t0 addiu sp, sp, 0x1FF0 nop .endarea
; A133444: a(n)=sum{k=0..n, C(n,floor(k/2))*(-1)^k*4^(n-k)}. ; Submitted by Christian Krause ; 1,3,14,57,246,1038,4424,18777,79846,339258,1442004,6128202,26045436,110691948,470442924,1999378137,8497365126,36113785698,153483619604,652305322542,2772297736276,11782265148228,50074627320864,212817165231882,904472953925596,3...
#include "Pixel.h" #include "Color16.h" Pixel::Pixel(){ hsv16 = CHSV16(0,0,0); }; void Pixel::setColor(CHSV clr){ hsv16.hue = clr.hue << 8; hsv16.sat = clr.sat << 8; hsv16.val = clr.val << 8; } void Pixel::setHue16(uint16_t hue){ hsv16.hue = hue; } void Pixel::addHue16(int16_t deltaHue){ hsv16.hue += de...
LIST P=PIC16F84A #INCLUDE<P16F84A.INC> __CONFIG _HS_OSC&_CP_OFF&_WDT_OFF&_PWRTE_ON W_TEMP EQU 0CH STATUS_TEMP EQU 0DH CNT1 EQU 0EH CNTB EQU 0FH TMPA EQU 010H OUT EQU 011H ORG 0H GOTO MAIN ORG 04H ;PUSH MOVWF W_TEMP MOVF STATUS,W MOVWF STATUS_TEMP CALL CRECV MOVWF OUT ;POP ...
/* * Copyright 2018 Damián Silvani * * 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 ...
/* * Copyright (c) 2002-present, H. Hernan Saez * 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 source code must retain the above copyright * notice, this ...
; Z88 Small C+ Run Time Library ; Long functions ; "8080" mode ; Stefano - 29/4/2002 ; SECTION code_clib SECTION code_l_sccz80 PUBLIC l_long_div_u EXTERN l_long_divide .l_long_div_u ld a,1 jp l_long_divide
//1. 自解:宽度优先遍历 class Solution { public: int minDepth(TreeNode* root) { // 层级遍历 queue<TreeNode*> que; int len = 1; int depth = 1; if (root == nullptr) return 0; que.push(root); while (que.empty() != true) { TreeNode* tmp; while (len >...
.386 ;instruction set .model flat,stdcall ;model .code ;this is a code segment main proc ; define main function mov ecx,1 ; summand mov edx,2 ; addend push ecx push edx call xaddy ret ;return main endp ;end of main xaddy proc push ebp mov ebp,esp sub esp,16 xor eax,eax add eax,ecx add e...
SECTION code_clib PUBLIC res_MODE1 .res_MODE1 defc NEEDunplot = 1 INCLUDE "target/spc1000/graphics/pixel_MODE1.inc"
; A132351: Partial sums of A132350. ; Submitted by Jon Maiga ; 1,2,3,3,4,5,6,6,6,7,8,9,10,11,12,12,13,14,15,16,17,18,19,20,20,21,21,22,23,24,25,25,26,27,28,28,29,30,31,32,33,34,35,36,37,38,39,40,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,54,55,56,57,58,59,60,61,62,63,64,65,66 mov $2,$0 mov $4,$0 lpb $4 mov $0,$2 ...
#include <array> #include <cstddef> #include <vector> #include "common/types.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "util/string_helper.h" TEST(strStreamify, HandlesZeroInput) { using namespace std; using namespace testing; vector<GDouble> testDouble{0.0, 0.1234, 0.35632}; array<GInt, 2...
; ; jdcolss2.asm - colorspace conversion (SSE2) ; ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled with NASM (Netwide Assembler), ; can *not* be assembled with Microsoft'...
SilphCo11F_h: db INTERIOR ; tileset db SILPH_CO_11F_HEIGHT, SILPH_CO_11F_WIDTH ; dimensions (y, x) dw SilphCo11F_Blocks ; blocks dw SilphCo11F_TextPointers ; texts dw SilphCo11F_Script ; scripts db 0 ; connections dw SilphCo11F_Object ; objects
; ; Generic pseudo graphics routines for text-only platforms ; SECTION code_clib PUBLIC xorpixel .xorpixel defc NEEDxor = 1 INCLUDE "pixel.asm"
; A001541: a(0) = 1, a(1) = 3; for n > 1, a(n) = 6*a(n-1) - a(n-2). ; 1,3,17,99,577,3363,19601,114243,665857,3880899,22619537,131836323,768398401,4478554083,26102926097,152139002499,886731088897,5168247530883,30122754096401,175568277047523,1023286908188737,5964153172084899,34761632124320657 mul $0,2 mov $1,1 mov $2,1 ...
;16-битная адресация, пока мы находимся в реальном режиме use16 org 500h start: jmp 0x0000:ent ;теперь CS=0, IP=7C00h ent: mov ax, cs mov ds, ax ;открыть A20 in al, 0x92 or al, 2 out 0x92, al ;**************************** ;Настройка VESA mov ax, 4f01h mov di, Mode_Info mov cx, 4f15h int 10h mo...
db 0 ; species ID placeholder db 68, 90, 65, 82, 50, 55 ; hp atk def spd sat sdf db DRAGON, GROUND ; type db 45 ; catch rate db 114 ; base exp db NO_ITEM, BERRY ; items db GENDER_F50 ; gender ratio db 40 ; step cycles to hatch INCBIN "gfx/pokemon/gabite/front.dimensions" db GROWTH_SLOW ; growt...
Snd_LRZ1_Header: smpsHeaderStartSong 3 smpsHeaderVoiceUVB smpsHeaderChan $06, $03 smpsHeaderTempo $01, $26 smpsHeaderDAC Snd_LRZ1_DAC smpsHeaderFM Snd_LRZ1_FM1, $0C, $09 smpsHeaderFM Snd_LRZ1_FM2, $0C, $01 smpsHeaderFM Snd_LRZ1_FM3, $0C, $03 smpsHeaderFM Snd_LRZ1_FM4...
; CALLER linkage for function pointers XLIB freopen LIB freopen_callee XREF ASMDISP_FREOPEN_CALLEE .freopen pop af pop bc pop de pop hl push hl push de push bc push af jp freopen_callee + ASMDISP_FREOPEN_CALLEE
; A120502: Meta-Fibonacci sequence a(n) with parameters s=3. ; Submitted by Simon Strandgaard ; 1,1,1,1,2,2,2,2,2,3,4,4,4,4,4,4,5,6,6,7,8,8,8,8,8,8,8,9,10,10,11,12,12,12,13,14,14,15,16,16,16,16,16,16,16,16,17,18,18,19,20,20,20,21,22,22,23,24,24,24 add $0,1 mov $2,$0 mov $6,1 lpb $0 lpb $0,$6 mov $6,$2 lpb $0...
; ; Startup for CP/M ; ; Stefano Bodrato - Apr. 2000 ; Apr. 2001: Added MS-DOS protection ; ; Dominic Morris - Jan. 2001: Added argc/argv support ; - Jan. 2001: Added in malloc routines ; - Jan. 2001: File support added ; ; $Id: cpm_crt0.asm,v 1.43 2016-10-31 16:16:33 stef...
; A221130: a(n) = 2^(2*n - 1) + n. ; 3,10,35,132,517,2054,8199,32776,131081,524298,2097163,8388620,33554445,134217742,536870927,2147483664,8589934609,34359738386,137438953491,549755813908,2199023255573,8796093022230,35184372088855,140737488355352,562949953421337,2251799813685274,9007199254741019,36028797018963996,14411...
// -------------------------------------------------------------------------- // Citadel: TallyBuf.CPP // // For talley buffer stuff. #include "ctdl.h" #pragma hdrstop #include "auxtab.h" #include "log.h" #include "msg.h" #include "tallybuf.h" #include "cwindows.h" #include "termwndw.h" // -----------...
Route22GateScript: call EnableAutoTextBoxDrawing ld hl, Route22GateScriptPointers ld a, [wRoute22GateCurScript] call JumpTable ld a, [wYCoord] cp $4 ld a, ROUTE_23 jr c, .asm_1e69a ld a, ROUTE_22 .asm_1e69a ld [wLastMap], a ret Route22GateScriptPointers: dw Route22GateScript0 dw Route22GateScript1 dw Rou...
; A041685: Denominators of continued fraction convergents to sqrt(362). ; Submitted by Jamie Morken(s2) ; 1,38,1445,54948,2089469,79454770,3021370729,114891542472,4368899984665,166133090959742,6317426356454861,240228334636244460,9134994142533744341,347370005750918529418,13209195212677437862225,502296788087493557293968,...
; A339354: G.f.: Sum_{k>=1} k^3 * x^(k*(k + 1)) / (1 - x^k). ; Submitted by Jamie Morken(s2) ; 0,1,1,1,1,9,1,9,1,9,1,36,1,9,28,9,1,36,1,73,28,9,1,100,1,9,28,73,1,161,1,73,28,9,126,100,1,9,28,198,1,252,1,73,153,9,1,316,1,134,28,73,1,252,126,416,28,9,1,441,1,9,371,73,126,252,1,73,28,477,1,828,1,9,153,73,344 add $0,1 mov...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x148cf, %rsi lea addresses_UC_ht+0x1714f, %rdi nop nop nop dec %rbp mov $93, %rcx rep movsl nop nop and %rsi, %rsi lea addresses_UC_ht+0xac4f, %r9 and %r15, %r15 mov (%r9), %r1...
; ; Copyright (c) 2019, Maxime Bacoux ; 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 notice, this ; list of conditions and...
; A170546: Number of reduced words of length n in Coxeter group on 9 generators S_i with relations (S_i)^2 = (S_i S_j)^47 = I. ; 1,9,72,576,4608,36864,294912,2359296,18874368,150994944,1207959552,9663676416,77309411328,618475290624,4947802324992,39582418599936,316659348799488,2533274790395904 mov $1,1 lpb $0,1 mul $...
; SameBoy CGB bootstrap ROM ; Todo: use friendly names for HW registers instead of magic numbers SECTION "BootCode", ROM0[$0] Start: ; Init stack pointer ld sp, $fffe ; Clear memory VRAM call ClearMemoryPage8000 ld a, 2 ld c, $70 ld [c], a ; Clear RAM Bank 2 (Like the original boot ROM) ld h, $...
#include "BitmapView.h" #include <stdio.h> #include <Bitmap.h> #include <Path.h> #include "IMKitUtilities.h" //#pragma mark Constructor IconView::IconView(BBitmap *icon) : BView(icon->Bounds(), "IconView", B_FOLLOW_LEFT_RIGHT | B_FOLLOW_BOTTOM, B_WILL_DRAW), fBitmap(icon), fEnabled(true) { }; IconView::IconView...
; A074840: Numerators a(n) of fractions slowly converging to sqrt(2): let a(1) = 0, b(n) = n - a(n); if (a(n) + 1) / b(n) < sqrt(2), then a(n+1) = a(n) + 1, else a(n+1)= a(n). ; 0,1,1,2,2,3,4,4,5,5,6,7,7,8,8,9,9,10,11,11,12,12,13,14,14,15,15,16,16,17,18,18,19,19,20,21,21,22,22,23,24,24,25,25,26,26,27,28,28,29,29,30,31,...
/* * 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 s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r8 push %rcx push %rdx push %rsi // Load lea addresses_UC+0x1a98e, %rsi nop nop nop nop add $57524, %r8 mov (%rsi), %r10 sub $49945, %r10 // Store lea addresses_UC+0x1a98e, %r8 sub $19322, %r...
# bdsx-asm # I ported it C++ to TS # and now, I'm porting it TS to asm # How ridiculous # I love C++, but C++ is too slow at compiling # And compilers are too heavy. # I may have to make my own compiler # It's also my own assembler compiler const JsUndefined 0 const JsNull 1 const JsNumber 2 const JsString 3 const J...
MODULE get_16bit_ap_parameter SECTION code_clib PUBLIC get_16bit_ap_parameter EXTERN __printf_issccz80 ; Change the arguments pointer, the delta is always 2, but is it +/-ve? ; Entry: de = ap ; Return: de = new ap ; hl = value ; Uses: ix get_16bit_ap_parameter: IF __CPU_GBZ80__ ld ...
; ------------------------------------------ ; VOL. 2D, Appendix A, pg. 14-15 (Intel Manual) ; ------------------------------------------ [BITS 32] ; Macros pad equ 16 ; ------------------------------- ; 3-byte 38 opcodes tests ; ------------------------------- op00: vpermq ymm1, [var], 0x12 times pad -...
/* * Copyright (c) 2011 The WebRTC 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 contribut...
// Copyright Epic Games, Inc. All Rights Reserved. #include "LexyVFXCppFixtures.h" #define LOCTEXT_NAMESPACE "FLexyVFXCppFixturesModule" void FLexyVFXCppFixturesModule::StartupModule() { // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module ...
// Boost.Range library // // Copyright Thorsten Ottosen 2003-2004. 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/li...
@ @ Copyright (c) 2015, Texas Instruments Incorporated @ @ 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 a...
SECTION "ROM Bank 1F", ROMX[$4000], BANK[$1F] toc_1F_4000: jp toc_1F_4009 db $C3, $17, $7B toc_1F_4006: jp toc_1F_401E toc_1F_4009: ld hl, $D300 toc_1F_400C: ld [hl], $00 inc l jr nz, toc_1F_400C ld a, $80 ld [gbAUDENA], a ld a, $77 ld [gbAUDVOL], a ...
SECTION .virt GLOBAL sv13h BITS 16 sv13h: mov ah,00h mov al,13h int 10h ret GLOBAL sv3h sv3h: mov ah,00h mov al,3h int 10h ret
; A002561: a(n) = n^5 + 1. ; 0,1,2,33,244,1025,3126,7777,16808,32769,59050,100001,161052,248833,371294,537825,759376,1048577,1419858,1889569,2476100,3200001,4084102,5153633,6436344,7962625,9765626,11881377,14348908,17210369,20511150,24300001,28629152,33554433,39135394,45435425,52521876,60466177,69343958,79235169,902242...