text
stringlengths
1
1.05M
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>linkat(fromfd, from, tofd, to, flags) -> str Invokes the syscall linkat. See 'man 2 linkat' for more information. Arguments: fromfd(int): fromfd from(char*): from tofd(int): tofd to(char...
; char *strrchr_callee(const char *s, int c) SECTION code_clib SECTION code_string PUBLIC _strrchr_callee EXTERN asm_strrchr _strrchr_callee: pop af pop hl pop bc push af jp asm_strrchr
/** \class HLTMuonTrimuonL3Filter * * See header file for documentation * * \author J. Alcaraz, P. Garcia * */ #include "DataFormats/Common/interface/Handle.h" #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h" #include "DataFormats/HLTReco/interface/TriggerRefsCollections.h" #include "FW...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ReadGs.Asm ; ; Abstract: ; ; AsmReadGs function ; ; Notes: ; ;--------------------------------------...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1e3b2, %rbp nop nop nop nop sub %r15, %r15 mov $0x6162636465666768, %rdx movq %rdx, %xmm3 movups %xmm3, (%rbp) nop nop nop nop sub %rbx, %rbx lea addresse...
; ; 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.9 2007/12/13 11:28:42 stefa...
; void *zx_pxy2saddr_callee(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _zx_pxy2saddr_callee, l0_zx_pxy2saddr_callee EXTERN asm_zx_pxy2saddr _zx_pxy2saddr_callee: pop af pop hl pop de push af l0_zx_pxy2saddr_callee: ld h,e jp asm_zx_pxy2saddr
; A240506: Number of length-n gap-free words on {1,2,3}. ; 1,3,7,21,67,213,667,2061,6307,19173,58027,175101,527347,1586133,4766587,14316141,42981187,129009093,387158347,1161737181,3485735827,10458256053,31376865307,94134790221,282412759267,847255055013,2541798719467,7625463267261,22876524019507,68629840493973,205890058...
; CALLER linkage for function pointers PUBLIC l_bsearch PUBLIC _l_bsearch EXTERN l_bsearch_callee EXTERN ASMDISP_L_BSEARCH_CALLEE .l_bsearch ._l_bsearch pop af pop iy pop hl pop de pop bc push bc push de push hl push hl push af jp l_bsearch_callee + ASMDISP_L_BSEARCH_CALLEE
; A166863: a(1)= 1; a(2)= 5; thereafter a(n)= a(n-1) + a(n-2) + 5. ; 1,5,11,21,37,63,105,173,283,461,749,1215,1969,3189,5163,8357,13525,21887,35417,57309,92731,150045,242781,392831,635617,1028453,1664075,2692533,4356613,7049151,11405769,18454925,29860699,48315629,78176333,126491967,204668305,331160277,535828587,8669888...
#line 2 "flex_lexer.cpp" #line 4 "flex_lexer.cpp" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 #define YY_FLEX_SUBMINOR_VERSION 4 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif #ifdef yy_c...
;Authors: Nitin Kumar & Vipin Kumar ;NOTE:- We are not respomsible for anything.Use at your own risk ;If you develop anything using this code, please remember to give necessary credit to the authors cli xor bx,bx mov ss,bx mov [ss:0x7bfe],sp mov sp,0x7bfe push ds ...
; =============================================================== ; Jun 2007 ; =============================================================== ; ; void *zx_pxy2aaddr(uchar x, uchar y) ; ; Attribute address corresponding to pixel coordinate x, y. ; ; =============================================================== SECT...
; A182027: a(n) = number of n-lettered words in the alphabet {1, 2} with as many occurrences of the substring (consecutive subword) [1, 1] as of [2, 2]. ; 1,2,2,2,4,6,12,20,40,70,140,252,504,924,1848,3432,6864,12870,25740,48620,97240,184756,369512,705432,1410864,2704156,5408312,10400600,20801200,40116600,80233200,15511...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x156b8, %rsi lea addresses_WC_ht+0x1b405, %rdi clflush (%rsi) nop nop xor %r14, %r14 mov $103, %rcx rep movsb nop nop nop nop add $47759, %r11 lea addresses_A_ht+0xee60, %r12 n...
; asm_isspace SECTION code_clib PUBLIC asm_isspace ; determine whether ascii char is a whitespace char ; enter : a = char ; exit : z = whitespace, nz = not whitespace ; uses : f .asm_isspace cp ' ' ; space ret z cp 13 ; cr ret z cp 9 ...
; A297662: Number of chordless cycles in the complete tripartite graph K_n,n,n. ; 0,3,27,108,300,675,1323,2352,3888,6075,9075,13068,18252,24843,33075,43200,55488,70227,87723,108300,132300,160083,192027,228528,270000,316875,369603,428652,494508,567675,648675,738048,836352,944163,1062075,1190700 sub $1,$0 bin $1,2 pow $...
; A093069: a(n) = (2^n + 1)^2 - 2. ; 7,23,79,287,1087,4223,16639,66047,263167,1050623,4198399,16785407,67125247,268468223,1073807359,4295098367,17180131327,68720001023,274878955519,1099513724927,4398050705407,17592194433023,70368760954879,281475010265087,1125899973951487,4503599761588223,18014398777917439,7205759457479...
; ; Small C+ Runtime Library ; ; CP/M functions ; ; CPM Plus "userf" custom Amstrad calls, for Amstrad CPC & PCW and ZX Spectrum +3 ; ; WARNING: ; This function does not work under PCW or +3 CP/M (and probably not CPC CP/M either), ; because the values in B and C are always reset to zero before the...
* Multiply halfword immediate test * This file was put into the public domain 2015-10-22 * by John P. Hartmann. You can use it for anything you like, * as long as this notice remains. mhi start 0 using mhi,0 org mhi+x'60' Unused bcmode stuff as scratch stop dc x'0002 0000',f'0',ad(0) org mhi+x'1a0' Restart dc x'...
target: equ 0x08 backup: equ 0xff stack: equ 0x8000 setup_sched: push 0x0000 pop es cli es mov ax, word [target * 4] es mov word [backup * 4], ax es mov ax, word [target * 4 + 2] es mov word [backup * 4 + 2], ax es mov word [target * 4], irq es mov word [tar...
Name: ed_dos1.asm Type: file Size: 3692 Last-Modified: '1992-06-02T15:00:00Z' SHA-1: 01693E9AC5EC01C250A17E49E3C1B45AAB46C4DB Description: null
INCLUDE "config_private.inc" SECTION code_driver SECTION code_driver_character_output PUBLIC _sioa_putc EXTERN sioaTxBuffer EXTERN sioaTxCount, sioaTxIn _sioa_putc: ; enter : l = char to output ; exit : l = 1 if Tx buffer is full ; carry reset ...
.include "..\..\..\Cpu\TestFiles\std.6502.asm" ; Test an jmp indirect instruction when an indirect address with a low byte of 0xff is given. In ; this case, when reading the high byte of the target address from memory the low byte of the ; indirect address will be incremented (resulting in 0x00) and the high byte...
; A102094: a(n) = (2*n-1)*(2*n+1)^2. ; 9,75,245,567,1089,1859,2925,4335,6137,8379,11109,14375,18225,22707,27869,33759,40425,47915,56277,65559,75809,87075,99405,112847,127449,143259,160325,178695,198417,219539,242109,266175,291785,318987,347829,378359,410625 mov $1,$0 mul $1,2 add $1,1 mov $2,$1 add $1,2 mov $3,$1 mul ...
; A219395: Numbers k such that 18*k+1 is a square. ; 0,16,20,68,76,156,168,280,296,440,460,636,660,868,896,1136,1168,1440,1476,1780,1820,2156,2200,2568,2616,3016,3068,3500,3556,4020,4080,4576,4640,5168,5236,5796,5868,6460,6536,7160,7240,7896,7980,8668,8756,9476,9568,10320,10416,11200,11300,12116,12220,13068,13176,14056...
db 0 ; species ID placeholder db 67, 105, 70, 95, 65, 73 ; hp atk def spd sat sdf db NORMAL, FLYING ; type db 45 ; catch rate db 177 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/madame/front.dimensions" db GROWTH_MEDIUM_FAS...
Shuttle_Mk_2: DB $0F, $09, $C4 DW Shuttle_Mk_2Edges DB Shuttle_Mk_2EdgesSize DB $00, $26 DB Shuttle_Mk_2VertSize DB Shuttle_Mk_2EdgesCnt DB $00, $00 DB Shuttle_Mk_2NormalsSize DB $0A, $20, $09 DW Shuttle_Mk_2Normals DB $02, $00 DW Shuttle_Mk_2Vertices DB 0,0 ; Typ...
; A053158: Sum of n and its cototient function value (A051953). ; 1,3,4,6,6,10,8,12,12,16,12,20,14,22,22,24,18,30,20,32,30,34,24,40,30,40,36,44,30,52,32,48,46,52,46,60,38,58,54,64,42,72,44,68,66,70,48,80,56,80,70,80,54,90,70,88,78,88,60,104,62,94,90,96,82,112,68,104,94,116 mov $1,2 add $1,$0 add $1,$0 seq $0,10 ; Eule...
PAGE ,132 TITLE PC DOS 3.3 Keyboard Definition File ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; MS-DOS 5.0 - NLS Support - Keyboard Defintion File ;; (c) Copyright Microsoft Corp 1992. ;; ;; This file contains the keyboard tables for right single-handed key layout. ;; ;; Linkage Instructions:...
section .text global main main: mov [counter], word 1 l1: ; mov edx, 1 ; mov ecx, n_line ; mov ebx, 1 ; mov eax, 4 ; int 0x80 ; print '\n' mov rbx, [counter] add rbx, 1 mov [counter], rbx mov rax, rbx cmp rbx, [num] je exit mov r11, 0 ;return1: mov...
// Copyright (c) 2012-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <bench/bench.h> #include <interfaces/chain.h> #include <node/context.h> #include <wallet/coinselection.h> #include <...
# 操作系统启动时所需的指令以及字段 # # 我们在 linker.ld 中将程序入口设置为了 _start,因此在这里我们将填充这个标签 # 它将会执行一些必要操作,然后跳转至我们用 rust 编写的入口函数 # # 关于 RISC-V 下的汇编语言,可以参考 https://github.com/riscv/riscv-asm-manual/blob/master/riscv-asm.md # %hi 表示取 [12,32) 位,%lo 表示取 [0,12) 位 .section .text.entry .globl _start # 目前 _start 的功能:将预留的栈空间写入 $sp,然后跳转至 rust...
#ifndef FSLSERVICE_IMPL_THREADING_THREADLOCALSERVICECONFIG_HPP #define FSLSERVICE_IMPL_THREADING_THREADLOCALSERVICECONFIG_HPP /**************************************************************************************************************************************************** * Copyright 2017 NXP * All rights reserved. ...
extern m7_ippsHMACPack_rmf:function extern n8_ippsHMACPack_rmf:function extern y8_ippsHMACPack_rmf:function extern e9_ippsHMACPack_rmf:function extern l9_ippsHMACPack_rmf:function extern n0_ippsHMACPack_rmf:function extern k0_ippsHMACPack_rmf:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function s...
/* ; patch BMP file with calculated palette (so I can add it to GIMP library of palettes) OUTPUT "bluepal.bmp",r FPOS 0x36 ii = 0 REPT 256 bi = ii&7 gi = (ii>>3)&7 ri = (ii>>5)&6 IF 0 < ri ri = ri + 1 ENDIF blue = bi * 255 / 7 green = gi * 255 / 7 red = ri * 255 / 7 BYTE blue, gre...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; *********************************************************************** ; File: JitHelpers_FastWriteBarriers.asm ; ; Notes: these are the fast write barriers which are copied in to t...
AnimationIdlePointers: dw BulbasaurAnimationIdle dw IvysaurAnimationIdle dw VenusaurAnimationIdle dw CharmanderAnimationIdle dw CharmeleonAnimationIdle dw CharizardAnimationIdle dw SquirtleAnimationIdle dw WartortleAnimationIdle dw BlastoiseAnimationIdle dw CaterpieAnimationIdle dw MetapodAnimationIdle dw B...
/* Copyright (c) 2014-2015 Arduino LLC. All right reserved. Copyright (c) 2016 Sandeep Mistry All right 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 published by the Free Software Foundation; either version 2....
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: MODULE: FILE: prefcomp.asm AUTHOR: Adam de Boor, Jan 18, 1993 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descriptio...
.zeropage MainLoops: .res 1 ; number of loops .bss ForeachStartLo: .res 1 ; start address (low byte) ForeachStartHi: .res 1 ; start address (high byte) ForeachEndLo: .res 1 ; end address (low byte) ForeachEndHi: .res 1 ; end address (high byte) ForeachFnLo: .res 1 ; function to call (low byte) ForeachFnHi: ....
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } 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 push %ebp b:...
#include "ir/value/fn.h" #include "gtest/gtest.h" #include "ir/value/builtin_fn.h" #include "ir/value/foreign_fn.h" #include "ir/value/native_fn.h" #include "type/function.h" #include "type/type.h" void TestFn() {} namespace { TEST(Fn, ForeignFn) { ir::ForeignFn f(TestFn, type::Func({}, {})); ir::Fn a(f); ASS...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosMemAvail DOS wrapper ; ; (c) osFree Project 2021, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev...
// This file was generated using Parlex's cpp_generator #include "BINARY_LOGICAL_OP.hpp" #include "plange_grammar.hpp" #include "parlex/detail/document.hpp" #include "AND.hpp" #include "IFF.hpp" #include "IMPLICATION.hpp" #include "MAPS_TO.hpp" #include "NAND.hpp" #include "NOR.hpp" #include "OR.hpp" #include "XOR....
; A126394: Number of base 7 n-digit numbers with adjacent digits differing by two or less. ; Submitted by Simon Strandgaard ; 1,7,29,125,543,2363,10287,44787,194995,848979,3696331,16093291,70067867,305065387,1328210699,5782837835,25177641963,109619822123,477268896747,2077959947307,9047137938475,39389933855019 mov $2,1...
; A166465: a(n) = 3*a(n-2) for n > 2; a(1) = 1, a(2) = 5. ; Submitted by Jamie Morken(s1) ; 1,5,3,15,9,45,27,135,81,405,243,1215,729,3645,2187,10935,6561,32805,19683,98415,59049,295245,177147,885735,531441,2657205,1594323,7971615,4782969,23914845,14348907,71744535,43046721,215233605,129140163,645700815,387420489,193710...
; A293505: a(n) is the integer k that minimizes |k/Fibonacci(n) - 1/2|. ; 0,0,0,1,2,2,4,6,10,17,28,44,72,116,188,305,494,798,1292,2090,3382,5473,8856,14328,23184,37512,60696,98209,158906,257114,416020,673134,1089154,1762289,2851444,4613732,7465176,12078908,19544084,31622993,51167078,82790070,133957148,216747218,3507043...
/* * Copyright (C) 2017 RTAndroid 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 applicable law or...
; A089513: Third column of triangle A089504. ; Submitted by Christian Krause ; 1,90,6156,387720,23705136,1432922400,86230132416,5179923146880,310942155338496,18660051727004160,1119687641441381376,67183287394552842240,4031045937469026349056,241863924899255181189120,14511863541582115641409536,870712485637970723151052800,...
<% from pwnlib.util import packing from pwnlib.shellcraft import amd64 from pwnlib.shellcraft.amd64 import pushstr from pwnlib import constants from pwnlib.shellcraft.registers import amd64 as regs from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context import re %> <...
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <matchstar>: return 0; } // matchstar: search for c*re at beginning of text int matchstar(int c, char *re, char *text) { 0: f3 0f 1e fb endbr32 4: 55 push %ebp 5: 89 e5 mov %esp,%e...
and {c1},x
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
;=============================================================================== ; Copyright 2015-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...
#include "STEPaggrString.h" #include <sstream> /** \file STEPaggrString.cc * implement classes StringAggregate, StringNode */ StringAggregate::StringAggregate() { } StringAggregate::~StringAggregate() { } STEPaggregate &StringAggregate::ShallowCopy(const STEPaggregate &a) { Empty(); SingleLinkNode *next...
;Recursive Quicksort by bitRAKE ; ;;Initial State: (general) ;; ;; esi ecx edi ;; |---n---|-|---n---| ;; P ;; ;;My choice of Pivot: ;; ;; esi edi ;; |-|-------n-------| ;; P ;; ;; ;;Possible Results: (P = pivot index) ;; ;; esi edi ;; |-|-------n-------| all items are >...
; A181132: a(0)=0; thereafter a(n) = total number of 0's in binary expansions of 1, ..., n. ; 0,0,1,1,3,4,5,5,8,10,12,13,15,16,17,17,21,24,27,29,32,34,36,37,40,42,44,45,47,48,49,49,54,58,62,65,69,72,75,77,81,84,87,89,92,94,96,97,101,104,107,109,112,114,116,117,120,122,124,125,127,128,129,129,135,140,145,149,154,158,162...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1c5ef, %rsi lea addresses_UC_ht+0xd6b5, %rdi nop nop xor %rdx, %rdx mov $56, %rcx rep movsb nop nop nop nop cmp $8709, %r14 lea addresses_A_ht+0x1db41, %r11 nop xor %rdi, %rdi mov $0x6162636465...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1992d, %rsi lea addresses_UC_ht+0x8a91, %rdi nop nop nop nop nop cmp %r9, %r9 mov $12, %rcx rep movsl nop nop nop xor $9720, %rbx lea addresses_UC_ht+0x6e59, %r11 nop nop nop...
#include "stack.h" #include <limits> using namespace std; /** * This implementation of a stack uses a LinkedList */ /** * Creates a stack by inserting an array of elements */ Stack::Stack(vector<int>& elems) { for (int elem : elems) { this->push(elem); } } /** * This method pushes an elemen...
#include "hzpch.h" #include "Platform/OpenGL/OpenGLShader.h" #include <fstream> #include <glad/glad.h> #include <glm/gtc/type_ptr.hpp> namespace Hazel { static GLenum ShaderTypeFromString(const std::string& type) { if (type == "vertex") return GL_VERTEX_SHADER; if (type == "fragment" || type == "pixel") ...
BITS 16 ;=========== ; Start of the bootloader ;=========== start: mov ax,07C0h ; Set up 4K stack space after this bootloader add ax,288 ; (4096 + 512) / 16 bytes per paragraph mov ss,ax mov sp,4096 mov ax,07C0h ; Set data segment ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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 ; which accompanies this distribution. Th...
SECTION code_fp_am9511 PUBLIC __modslong EXTERN cam32_sdcc_lmods ; modulus of two 32-bit numbers into a 32-bit remainder ; ; enter : stack = dividend (32-bit), divisor (32-bit), ret ; ; exit : dehl = remainder defc __modslong = cam32_sdcc_lmods
/* Copyright (c) 2005-2016, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
/************************************************************************************************** *** This file was autogenerated from GrMainCoords.fp; do not modify. **************************************************************************************************/ #include "GrMainCoords.h" #include "src/core/S...
SECTION code_fp_math48 PUBLIC atan2_callee EXTERN cm48_sccz80_atan2_callee defc atan2_callee = cm48_sccz80_atan2_callee
; commonly used strings string_cesium: db cesium_name,0 string_cesium_version: db cesium_name,' Version ',cesium_version,0 string_asm: db 'eZ80',0 string_c: db 'C',0 string_ice: db 'ICE',0 string_ice_source: db 'ICE S',0 string_directory: db 'Dir',0 string_basic: db 'Basic',0 string_application: db 'App',0 st...
; A234506: a(n) = binomial(9*n+3, n)/(3*n+1). ; Submitted by Jon Maiga ; 1,3,30,406,6327,107019,1909908,35399520,674842149,13147742322,260626484118,5239783981320,106585537781775,2189670831627678,45366284782209600,946815917066740800,19887218367823853937,420076689292591271325,8917736795123409615060,1901610176121606071679...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/06/max/MaxL.asm // Symbol-less version of the Max.asm program. @0 D=M @1 D=D-M @10 D;JGT // test that inline comments are ignored! @1 D=M @12 0;JMP @0 D=M @2 M=D...
; A239091: Prefix overlap of dictionary consisting of binary expansions of 0 through n. ; 0,1,2,3,5,6,8,9,12,14,17,18,21,23,26,27,31,34,38,40,44,47,51,52,56,59,63,65,69,72,76,77,82,86,91,94,99,103,108,110,115,119,124,127,132,136,141,142,147,151,156,159,164,168,173,175,180,184,189,192,197,201,206 lpb $0 mov $2,$0 s...
#ifndef STAN_MATH_PRIM_PROB_LOGISTIC_RNG_HPP #define STAN_MATH_PRIM_PROB_LOGISTIC_RNG_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/max_size.hpp> #include <stan/math/prim/fun/scalar_seq_view.hpp> #include <boost/random/exponential_distribution.hpp> #include <boos...
mov ecx, exp_len - exp mov esi, exp mov dx, 0 rep outsb hlt exp: db "12345678901234567890123456789012345678901234", 0xa7, 0x10, 0x00, 0x00, '\n' exp_len:
############################################################################### # 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...
; Buffering (abort/clear) utility V2.00  1989 Tony Tebby QJUMP section iou xdef iob_abort xdef iob_clear xref iob_pmul0 xref iob_eof xref iob_allc xref gu_rchp xref iob_ptab include 'dev8_keys_buf' include 'dev8_keys_k' iba.pre equ 4 iba.post equ 2 iba_pre dc.b k.cr,k.nl,k.nl,k.nl iba_post dc.b k....
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\struct.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ___local_stdio_printf_options PUBLIC ___local_stdio_scanf_options PUB...
print_string: pusha mov ah, 0x0e begin: mov al, [bx] cmp al, 0 je end int 0x10 add bx, 1 jmp begin end: popa ret
db 0 ; species ID placeholder db 75, 107, 80, 65, 65, 68 ; hp atk def spd sat sdf db GHOST, GHOST ; type db 45 ; catch rate db 189 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 25 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/pangshi/fr...
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2016 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofan...
ViridianGymObject: db $3 ; border block db $2 ; warps db $11, $10, $4, $ff db $11, $11, $4, $ff db $0 ; signs db $b ; objects object SPRITE_GIOVANNI, $2, $1, STAY, DOWN, $1, OPP_GIOVANNI, $3 object SPRITE_BLACK_HAIR_BOY_1, $c, $7, STAY, DOWN, $2, OPP_COOLTRAINER_M, $9 object SPRITE_HIKER, $b, $b, STAY, UP, ...
00007C00 8CC8 mov ax,cs 00007C02 8ED8 mov ds,ax 00007C04 8EC0 mov es,ax 00007C06 E80200 call 0x7c0b 00007C09 EBFE jmp short 0x7c09 00007C0B B81E7C mov ax,0x7c1e 00007C0E 89C5 mov bp,ax 00007C10 B91000 mov cx,0x10 0...
[bits 64] ;; test sign extension adc al, -100 adc ax, -100 adc eax, -100 adc rax, -100 imul dx, bx, -100 imul edx, ebx, -100 imul rdx, r11, -100 push byte -1 push word -1 push dword -1000 push word -1000 push -1 push byte -1 push dword -1 push word...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D28 move.l D0, (A4)+ 004D2A move.l D0, (A4)+ 043808 move.b #$1, ($502,A5) 04380E tst.b ($2d,A6) [base+502] 04FE62 move.b #$1, ($502,A5) [enemy+C8] 04FE68 move.b #$1, ($0,A6) [base+502] 0586B8 ...
; A023515: a(n) = prime(n)*prime(n-1) - 1. ; 1,5,14,34,76,142,220,322,436,666,898,1146,1516,1762,2020,2490,3126,3598,4086,4756,5182,5766,6556,7386,8632,9796,10402,11020,11662,12316,14350,16636,17946,19042,20710,22498,23706,25590,27220,28890,30966,32398,34570,36862,38020,39202,41988,47052,50620,51982,53356,55686,57598,6...
; A157411: a(n) = 30*n^4 - 120*n^3 + 120*n^2 - 19. ; -19,11,-19,251,1901,6731,17261,36731,69101,119051,191981,294011,431981,613451,846701,1140731,1505261,1950731,2488301,3129851,3887981,4776011,5807981,6998651,8363501,9918731,11681261,13668731,15899501,18392651,21167981,24246011,27647981,31395851,35512301,40020731,4494...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rbx push %rdi push %rsi lea addresses_WC_ht+0x1b866, %r14 nop nop xor %rbx, %rbx mov (%r14), %edi add %r8, %r8 lea addresses_WT_ht+0x28fe, %r11 nop nop cmp %rsi, %rsi movw $0x6162, (%r11) nop nop nop nop nop inc %rbx lea addresses_WC_ht+0xf...
INCLUDE "defines.asm" SECTION "Header", ROM0[$100] ; This is your ROM's entry point ; You have 4 bytes of code to do... something sub $11 ; This helps check if we're on CGB more efficiently jr EntryPoint ; Make sure to allocate some space for the header, so no important ; code gets put there and later overwr...
; A098971: a(0)=1; for n > 0, a(n)=a(floor(n/2))+2*a(floor(n/4)). ; 1,3,5,5,11,11,11,11,21,21,21,21,21,21,21,21,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,171,171,171,171,171 mul $0,2 add $0,1 log $0,2 mov $1,2 pow $1,...
/* * Copyright (c) 2017-2020 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
; A181716: a(n) = a(n-1) + a(n-2) + (-1)^n, with a(0)=0 and a(1)=1. ; 0,1,2,2,5,6,12,17,30,46,77,122,200,321,522,842,1365,2206,3572,5777,9350,15126,24477,39602,64080,103681,167762,271442,439205,710646,1149852,1860497,3010350,4870846,7881197,12752042,20633240,33385281,54018522,87403802,141422325,228826126,370248452,5990...
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from client_interface.djinni #include "NativeClientInterface.hpp" // my header #include "HI64.hpp" #include "HString.hpp" #include "NativeClientReturnedRecord.hpp" namespace djinni_generated { NativeClientInterface::NativeClientInterface() : dj...
; A017718: Binomial coefficients C(n,54). ; 1,55,1540,29260,424270,5006386,50063860,436270780,3381098545,23667689815,151473214816,895068996640,4922879481520,25371763481680,123234279768160,566877686933536,2480089880334220,10358022441395860,41432089765583440,159186450151978480,588989865562320376,2103535234151144200,72667...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1db8, %rsi lea addresses_normal_ht+0x13f18, %rdi nop cmp %r12, %r12 mov $68, %rcx rep movsq nop nop nop nop nop sub $58023, %rsi lea addresses_UC_ht+0x180b6, %rbx add %rdi, %rdi mov (...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0xd1a7, %rsi lea addresses_D_ht+0x1bdd7, %rdi nop nop nop cmp $25622, %r9 mov $48, %rcx rep movsw nop nop cmp $31891, %r9 lea addresses_normal_ht+0x1e019, %rsi lea addresse...
; A139593: A139276(n) followed by A139272(n+1). ; 0,3,11,22,38,57,81,108,140,175,215,258,306,357,413,472,536,603,675,750,830,913,1001,1092,1188,1287,1391,1498,1610,1725,1845,1968,2096,2227,2363,2502,2646,2793,2945,3100,3260,3423,3591,3762 mul $0,4 mov $1,-3 bin $1,$0 div $1,4
Name: Coin.asm Type: file Size: 13221 Last-Modified: '1992-11-18T01:48:22Z' SHA-1: CB800FA561994F030B2B63698B85DEA406421656 Description: null
bits 16 org 0x7c00 boot: mov ax, 0x2401 int 0x15 mov ax, 0x3 int 0x10 cli lgdt [gdt_pointer] mov eax, cr0 or eax,0x1 mov cr0, eax jmp CODE_SEG:boot2 gdt_start: dq 0x0 gdt_code: dw 0xFFFF dw 0x0 db 0x0 db 10011010b db 11001111b db 0x0 gdt_data: dw 0xFFFF dw 0x0 db 0x0 db 10010010b db 11001111b db...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xbf40, %r14 nop nop add %r15, %r15 mov (%r14), %ebx nop sub %r8, %r8 lea addresses_WT_ht+0x6f40, %rdx nop nop add $15466, %rdi mov $0x6162636465666768, %r15 movq %r15...
# x10 contem o numero do qual eu vou calcular o fatorial... # x12 contem o valor 1 (um) para me ajudar a sair do loop do fatorial addi x10, x0, 6 addi x12, x0, 1 add x11, x10, x0 fatorial: beq x10, x12, fim addi x10, x10, -1 mul x11, x11, x10 beq x0, x0, fatorial fim: