text
stringlengths
1
1.05M
; Troy's HBC-56 - CPU tests (degugging emulator issues) ; ; Copyright (c) 2021 Troy Schrapel ; ; This code is licensed under the MIT license ; ; https://github.com/visrealm/hbc-56 ; !src "hbc56kernel.inc" hbc56Meta: +setHbcMetaTitle "CPU UNIT TESTS" rts hbc56Main: sei jsr kbInit ...
/** * 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...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x17e, %r12 nop cmp %rbx, %rbx mov (%r12), %r9w nop nop nop nop nop and %r12, %r12 lea addresses_UC_ht+0x987e, %rsi lea addresses_UC_ht+0x1dc7e, %rdi clflush (%rsi) nop nop add ...
/* * Copyright (C) 2018 João Borrego * * 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...
; A279079: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/9) requires n steps to reach 0. ; 0,1,2,3,4,5,6,7,8,10,12,14,16,19,22,25,29,33,38,43,49,56,64,73,83,94,106,120,136,154,174,196,221,249,281,317,357,402,453,510,574,646,727,818,921,1037,1167,1313,1478,1663,1871,2105,2369,2666,3000...
class ZFirstClass { ZFirstClass(); line 1: 0: aload_0 line 1: 1: invokespecial #1 // Method java/lang/Object."<init>":()V line 1: 4: return static int square(int); line 3: 0: iload_0 line 3: 1: iload_0 line 3: 2: imul line 3: 3: ireturn } class ASecond...
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ #i...
ori $1, $0, 3 ori $2, $0, 0 ori $3, $0, 5 ori $4, $0, 1 sw $4, 0($0) sw $2, 4($0) sw $3, 8($0) sw $2, 12($0) sw $1, 16($0) sw $2, 20($0) sw $2, 24($0) sw $2, 28($0) sw $1, 32($0) sw $4, 36($0) sw $1, 40($0) sw $3, 44($0) sw $3, 48($0) sw $3, 52($0) sw $1, 56($0) sw $1, 60($0) sw $3, 64($0) sw $2, 68($0) sw $2, 72($0) s...
; A267482: Triangle of coefficients of Gaussian polynomials [2n+1,1]_q represented as finite sum of terms (1+q^2)^k*q^(g-k), where k = 0,1,...,g with g=n. ; Submitted by Jon Maiga ; 1,1,1,-1,1,1,-1,-2,1,1,1,-2,-3,1,1,1,3,-3,-4,1,1,-1,3,6,-4,-5,1,1,-1,-4,6,10,-5,-6,1,1,1,-4,-10,10,15,-6,-7,1,1,1,5,-10,-20,15,21,-7,-8,1,...
// Copyright (c) 2019 PaddlePaddle 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...
; A145362: Lower triangular array, called S1hat(-1), related to partition number array A145361. ; Submitted by Jamie Morken(w3) ; 1,1,1,0,1,1,0,1,1,1,0,0,1,1,1,0,0,1,1,1,1,0,0,0,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int i, n; int l, w, c, inword; l = w = c = 0; 6: c7...
npctrade: MACRO ; dialog set, requested mon, offered mon, nickname, dvs, item, OT ID, OT name, gender requested db \1, \2, \3, \4, \5, \6, \7 shift dw \7 db \8, \9, 0 ENDM NPCTrades: ; entries correspond to NPCTRADE_* constants npctrade TRADE_DIALOGSET_COLLECTOR, PIKACHU, ELEKID, "KIDDO@@@@@@", $37, $66, G...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x8156, %r15 nop nop dec %r11 mov $0x6162636465666768, %rax movq %rax, %xmm6 vmovups %ymm6, (%r15) nop nop nop inc %rdi lea addresses_normal_ht+0x144ee, %rsi lea addresses_WC_h...
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI 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 // // ...
// ATM this class does several things: // - It connects the YMF278b chip to specific I/O ports in the MSX machine // - It glues the YMF262 (FM-part) and YMF278 (Wave-part) classes together in a // full model of a YMF278b chip. IOW part of the logic of the YM278b is // modeled here instead of in a chip-specific clas...
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)oraz" .byte 0 lda #%00011011 sta db lda #%11000110 st...
; A012781: Take every 5th term of Padovan sequence A000931, beginning with the second term. ; 0,1,4,16,65,265,1081,4410,17991,73396,299426,1221537,4983377,20330163,82938844,338356945,1380359512,5631308624,22973462017,93722435101,382349636061,1559831901918,6363483400447,25960439030624,105908093453250,432062194544201,176...
include stdapp.def include vm.def include Objects/gCtrlC.def include library.def include resource.def ; idata/udata, ProcCallFixedOrMovable etc. include gstring.def UseLib math.def include Internal/heapInt.def ErrorHandlerContext struct EHC_ss word EHC_ds word EHC_es word EHC_di word EHC_si...
MAIN: PUSH BYTE 72 OUT EXIT
; void SMS_loadTiles(void *src, unsigned int tilefrom, unsigned int size) SECTION code_clib SECTION code_SMSlib PUBLIC SMS_loadTiles EXTERN asm_SMSlib_loadTiles SMS_loadTiles: pop af pop bc pop hl pop de push de push hl push bc push af jp asm_SMSlib_loadTiles
; Copyright 2021 Google LLC ; ; 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 ; ; https://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing,...
; loop指令: 使用 cx 设置循环次数, 会自动将 cx 减一 ; 标号: ; (循环体)... ; loop 标号 ; 设定循环次数 mov cx, 100 ; 初始化 ax mov ax, 0x0000 ; 循环 sum: add ax, cx loop sum jmp $ times 510-($-$$) db 0 db 0x55, 0xaa
; A125128: a(n) = 2^(n+1) - n - 2, or partial sums of main diagonal of array A125127 of k-step Lucas numbers. ; 1,4,11,26,57,120,247,502,1013,2036,4083,8178,16369,32752,65519,131054,262125,524268,1048555,2097130,4194281,8388584,16777191,33554406,67108837,134217700,268435427,536870882,1073741793,2147483616,4294967263,85...
;; ;; (c) 2020 iomonad <clement@trosa.io> ;; This is part of the KFS Project ;; See: https://github.com/iomonad/KFS ;; bits 32 ;; Global Interrupt Table ;; assembly routine global _idt_commit _idt_commit: mov eax, [esp+4] ; Load memory pointer lidt [eax] ; Stor...
TITLE DISPLAYING_STRING .MODEL SMALL .STACK 100H .DATA MSG DB 'THIS IS ASSEMBLY LANGUAGE BITCH!$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX ;initialize DS LEA DX, MSG ;get message by putting offset address of MSG into DX MOV AH, 9 ...
; A170379: Number of reduced words of length n in Coxeter group on 34 generators S_i with relations (S_i)^2 = (S_i S_j)^43 = I. ; 1,34,1122,37026,1221858,40321314,1330603362,43909910946,1449027061218,47817893020194,1577990469666402,52073685498991266,1718431621466711778,56708243508401488674,1871372035777249126242,617552...
//////////////////////////////////////////////////////////////////////////// // Name: PromotedSilver.cpp // Description: Implementation for a class that represents a Promoted Silver // Created: May 1, 2004 08:32:17 PM // Author: John Weathers // Email: hotanguish@hotmail.com // Copyright: ...
/// Json-cpp amalgamated source (http://jsoncpp.sourceforge.net/). /// It is intended to be used with #include "json/json.h" // ////////////////////////////////////////////////////////////////////// // Beginning of content of file: LICENSE // ////////////////////////////////////////////////////////////////////// /* T...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.5.0 #9253 (Mar 28 2016) (Linux) ; This file was generated Wed Jan 2 15:12:32 2019 ;-------------------------------------------------------- .module stm8s_gpio .optsdcc -mstm8 ;-----------...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; SUB8ri mov ah, 0xdd ;TEST_BEGIN_RECORDING sub ah, 0x3 ;TEST_END_RECORDING
I_ED equ 1 I_NET equ 0 I_AKEY equ 0 include 'dev8_sbsext_tk2_procs_asm'
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "policy/fees.h" #include "policy/policy.h" #include "amount.h" #include "pri...
#pragma once #include <cmath> // isfinite #include <cstdint> // uint8_t #include <functional> // function #include <string> // string #include <utility> // move #include <vector> // vector #include <nlohmann/detail/exceptions.hpp> #include <nlohmann/detail/input/input_adapters.hpp> #include <nlohmann/detail/input/jso...
; A245871: Number of length 2+2 0..n arrays with some pair in every consecutive three terms totalling exactly n. ; 10,45,100,193,318,493,712,993,1330,1741,2220,2785,3430,4173,5008,5953,7002,8173,9460,10881,12430,14125,15960,17953,20098,22413,24892,27553,30390,33421,36640,40065,43690,47533,51588,55873,60382,65133,70120,...
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
############################################################################### # Copyright 2018 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...
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com> * Copyright (c) 2020, the SerenityOS developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
IF !DEF(SECOND) ATTRS equs ",ALIGN[2]" ELSE ATTRS equs "[$CAFE]" ENDC SECTION UNION "conflicting alignment", WRAM0 ATTRS db PURGE ATTRS
Name: ys_w69.asm Type: file Size: 17489 Last-Modified: '2016-05-13T04:50:34Z' SHA-1: 16E5E2ECA190013521C778B09D55B4A03275A3AE Description: null
// A raster IRQ that opens the top/bottom border. /// @file /// Commodore 64 Registers and Constants /// @file /// The MOS 6526 Complex Interface Adapter (CIA) /// /// http://archive.6502.org/datasheets/mos_6526_cia_recreated.pdf // Commodore 64 PRG executable file .file [name="irq-hyperscreen.prg", type="prg", segme...
; CALLER linkage for function pointers PUBLIC stricmp EXTERN stricmp1 .stricmp pop bc pop de pop hl push hl push de push bc jp stricmp1
/* * Copyright (C) 2013 Google Inc. 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 list of conditio...
/*========================================================================== * Copyright (c) 2005 University of Massachusetts. All Rights Reserved. * * Use of the Lemur Toolkit for Language Modeling and Information Retrieval * is subject to the terms of the software license set forth in the LICENSE * file include...
#include "AnimationStateConnection.h" #include "AnimationStateCondition.h" #include "AnimationStateBase.h" #include <algorithm> AnimationStateConnection::AnimationStateConnection() :_conditions(), _targetState(nullptr),_blendTime(0.f) { } void AnimationStateConnection::createAnimationStateConnection(AnimationState...
MOV AL,09H ; Load immediate data 09H to register AL MOV BL,06H ; Load immediate data to register BL SUB AL, BL ; AL=AL-BL
; A133585: Expansion of x - x^2*(2*x+1)*(x^2-2) / ( (x^2-x-1)*(x^2+x-1) ). ; Submitted by Jamie Morken(s4) ; 1,2,4,5,10,13,26,34,68,89,178,233,466,610,1220,1597,3194,4181,8362,10946,21892,28657,57314,75025,150050,196418,392836,514229,1028458,1346269,2692538,3524578,7049156,9227465,18454930,24157817 sub $1,$0 mov $2,1 ...
SECTION code_clib SECTION code_fp_math48 PUBLIC mlib2d EXTERN cm48_sccz80_m482d defc mlib2d = cm48_sccz80_m482d
object_const_def ; object_event constants OreburghApartmentE1F_MapScripts: db 0 ; scene scripts db 0 ; callbacks OreburghApartmentE1F_FirstMonGuyScript: jumptextfaceplayer .Text .Text: text "You remind me so" line "much of the time" cont "I got my first" cont "#MON." done OreburghApartmentE1F_WhichMovesGuy...
_ls: file format elf32-i386 Disassembly of section .text: 00000000 <main>: close(fd); } int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi 4: 56 push %esi 5: 53 ...
; Aula 07 - Controle de Fluxo de Execucao ; arquivo: a07e04.asm ; objetivo: the evil lowercase papagali code! ; verifica entrada ; se length < 25 ; converte string de entrada para lowercase ; apresenta conversao ; senao ; msg de erro e encerra...
/* * Copyright (C) 2019 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...
; A240523: a(n) = floor(4^n/((1+sqrt(5))/2)^(2*n)). ; Submitted by Jon Maiga ; 1,1,2,3,5,8,12,19,29,45,69,105,161,247,377,577,881,1347,2058,3144,4805,7341,11216,17137,26183,40005,61122,93387,142682,218000,333074,508892,777518,1187942,1815014,2773095,4236913,6473427,9890517,15111365,23088112,35275497,53896163,82346010,1...
# File: add_ascii_numbers.asm # Author: K. Reek # Contributors: P. White, W. Carithers # Alexander Kellermann Nieves (akn1736) # # Updates: # 3/2004 M. Reek, named constants # 10/2007 W. Carithers, alignment # 09/2009 W. Carithers, separate assembly # # Description: Add two ASCII numbers and store the result in A...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>getsid(pid) -> str Invokes the syscall getsid. See 'man 2 getsid' for more information. Arguments: pid(pid_t): pid Returns: pid_t </%docstring> <%page args="pid=0"/> <% abi = pwnlib.abi.ABI....
%ifdef CONFIG { "RegData": { "RAX": "0x3ff0000000000000", "RBX": "0x0000000000000000", "RCX": "0x3ff0000000000000" }, "Env": { "FEX_X87REDUCEDPRECISION" : "1" } } %endif mov rdx, 0xe0000000 mov eax, 0x3f800000 ; 1.0 mov [rdx + 8 * 0], eax fld1 fldz mov eax, 1 cmp eax, 1 fcmovne st0, st1 fldz cmp...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x82b0, %rax clflush (%rax) nop nop nop nop xor %r8, %r8 vmovups (%rax), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $1, %xmm1, %rbx nop cmp %r12, %r12 lea addresses_normal_ht+0x167f0, %...
/* * * Copyright (C) 2018 Intel Corporation.All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasIDebug.hpp * @date 2016 * @brief */ #ifndef IASIDEBUG_HPP_ #define IASIDEBUG_HPP_ #include "avbaudiomodules/audio/common/IasAudioCommonTypes.hpp" namespace IasAudio { /** * @br...
;************************************************************************ ; * ; Copyright (C) 1991 by Trace Center (just kidding) * ; * ; FILTER.ASM * ; * ;************************************************************************ TITLE FilterKeys INCLUDE keyboard.inc EXTRN shift_tbl:by...
db DEX_PINSIR ; pokedex id db 65, 125, 100, 85, 55 ; hp atk def spd spc db BUG, BUG ; type db 45 ; catch rate db 200 ; base exp INCBIN "gfx/pokemon/front/pinsir.pic", 0, 1 ; sprite dimensions dw PinsirPicFront, PinsirPicBack db VICEGRIP, NO_MOVE, NO_MOVE, NO_MOVE ; level 1 learnset db GROWTH_SLOW...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xd36c, %r10 nop nop nop nop nop and %r9, %r9 movb $0x61, (%r10) nop nop nop nop nop dec %rcx lea addresses_WC_ht+0x822c, %rdx nop nop nop nop xor %r12, %r12 mov $0x61626364656...
; char *_memlwr__callee(void *p, size_t n) SECTION code_string PUBLIC __memlwr__callee EXTERN asm__memlwr __memlwr_: pop af pop hl pop bc push af jp asm__memlwr
/* ======================================== * File Name : C.cpp * Creation Date : 19-03-2021 * Last Modified : Fri 19 Mar 2021 09:43:57 PM CET * Created By : Karel Ha <mathemage@gmail.com> * URL : https://atcoder.jp/contests/abc193/tasks/abc193_c * Points/Time : * 33m40s * + * * Total/ETA...
; int vsprintf(char *s, const char *format, void *arg) SECTION code_stdio PUBLIC _vsprintf EXTERN asm_vsprintf _vsprintf: pop af exx pop de exx pop de pop bc push bc push de push de push af jp asm_vsprintf
SECTION code_clib SECTION code_fp_math48 PUBLIC ___fs2uchar EXTERN cm48_sdcciyp_ds2uchar defc ___fs2uchar = cm48_sdcciyp_ds2uchar
; div 除法指令 ; 1、除数:分为8位和16位,在一个reg或者内存单元中 ; 2、被除数:默认放在AX或DX和AX中,如果除数是8位那么被除数 ; 则放在AX中,如果除数是16位,那么被除数的高16位放在DX中,低 ; 16位则放在AX中 ; 结果:如果除数是8位,那么AL中存放商,AH中存放余数,如果除数 ; 是16位,那么AX中存放商,DX中存放余数。 assume cs:code code segment start: ; 计算100001 / 100 ,100001大于65535,所以必须存放在32位中 ; 100001 = 186A1H, 所以需要DX存放1,AX存放...
; A313894: Coordination sequence Gal.5.133.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,16,21,27,32,38,43,48,53,58,64,69,75,80,86,91,96,101,106,112,117,123,128,134,139,144,149,154,160,165,171,176,182,187,192,197,202,208,2...
; A088633: P-n where P = smallest prime > 2n. ; 2,2,3,4,7,6,7,10,9,10,13,12,17,16,15,16,21,20,19,22,21,22,25,24,29,28,27,32,31,30,31,36,35,34,37,36,37,42,41,40,43,42,47,46,45,52,51,50,49,52,51,52,55,54,55,58,57,70,69,68,67,66,65,64,67,66,71,70,69,70,79,78,77,76 mov $1,1 add $1,$0 mov $0,$1 sub $0,1 cal $0,60264 ; Firs...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
Ghost1DRAW_GLYPH: //MAKE ARI LOCATION ADDRESS IN r2 //ARI GHOST IS IN 12800 //LUI 200 AND ORI 0 LUI 200 r2 ORI 0 r2 //MAKE GHOST STATE ADDRESS IN r3 LUI 51 r3 ORI 145 r3 //load location of pacman INTO r0 LOAD r0 r2 //CHECK IF STATE UP0 drawUP0: load r5 r3 CMPI 16 r5 BNE drawUP1 //else check if in state UP1 /...
; SMSQ_LANG_KBD_SETT SMSQ KBD set keyboard table  1994 Tony Tebby xdef kbd_sett xdef kbd_table xdef kbd_thing xdef kbd_tnam xref ut_gxli1 xref ut_gxnm1 xref cv_upcas include 'dev8_keys_err' include 'dev8_keys_ldm' include 'dev8_keys_sys' include 'dev8_keys_iod' include 'dev8_keys_qdos_sms' include '...
; A022354: Fibonacci sequence beginning 0, 20. ; Submitted by Jon Maiga ; 0,20,20,40,60,100,160,260,420,680,1100,1780,2880,4660,7540,12200,19740,31940,51680,83620,135300,218920,354220,573140,927360,1500500,2427860,3928360,6356220,10284580,16640800,26925380,43566180,70491560,114057740,184549300,298607040,483156340,78176...
; ; jccolss2.asm - colorspace conversion (SSE2) ; ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; Copyright (C) 2009, D. R. Commander. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled with NASM (Netwide Assembler), ;...
// Copyright 2017 Johan Paulsson // This file is part of the Water C++ Library. It is licensed under the MIT License. // See the license.txt file in this distribution or https://watercpp.com/license.txt //\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_ #ifndef WATER_THREADS_WINDOWS_T...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x90d7, %r11 nop nop nop nop nop and $38345, %rsi movl $0x61626364, (%r11) nop nop and $5493, %r11 lea addresses_A_ht+0x1ccc1, %rsi nop nop nop nop inc %r8 movl $0x616...
;================================================================================================== ; Settings and tables which the front-end may write ;================================================================================================== ; Initial Save Data table: ; ; This table describes what extra data...
build/custom_csr.elf: file format elf32-littleriscv Disassembly of section .crt_section: 00000000 <_start>: 0: 00100e13 li t3,1 4: b04020f3 csrr ra,mhpmcounter4 8: b0402173 csrr sp,mhpmcounter4 c: b04021f3 csrr gp,mhpmcounter4 10: 06114863 blt sp,r...
// FIBONACCI SERIES GENERATION START: MVI C,09 // Counter LXI H,C050 // Memory Pointer X: MOV A,M INX H MOV B,M INX H ADD B DAA MOV M,A DCX H DCR C JNZ X RST 1 // To run the Program simply load at memory location C050=01,C051=01 # ORG C050 # DB 01H,01H
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright (C) 2022 Intel Corporation ; ; SPDX-License-Identifier: MIT ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; default rel [bits 64] %include "reg_sizes.asm" extern crc32_iscsi_00 extern crc32_iscsi_01 extern c...
; int wv_priority_queue_resize(wv_priority_queue_t *q, size_t n) SECTION code_clib SECTION code_adt_wv_priority_queue PUBLIC wv_priority_queue_resize EXTERN wa_priority_queue_resize defc wv_priority_queue_resize = wa_priority_queue_resize ; SDCC bridge for Classic IF __CLASSIC PUBLIC _wv_priority_queue_resize def...
; A269223: Factorial of the sum of digits of n in base 3. ; 1,1,2,1,2,6,2,6,24,1,2,6,2,6,24,6,24,120,2,6,24,6,24,120,24,120,720,1,2,6,2,6,24,6,24,120,2,6,24,6,24,120,24,120,720,6,24,120,24,120,720,120,720,5040,2,6,24,6,24,120,24,120,720,6,24,120,24,120,720,120,720 seq $0,53735 ; Sum of digits of (n written in base 3)....
%macro nwln 0 mov eax,0x4 mov ebx,0x1 mov ecx,NewLine mov edx,0x1 int 0x80 %endmacro SECTION .data NewLine db 0xA Snippet db "KANGAROO" SnippetLen equ $-Snippet TestDb dw "Hi?" TestDd db "Hi :P" TestDdLen equ $-TestDd SaveBits db 11111111b,1b SaveHex dw 0ff...
; A198974: 2*11^n-1. ; 1,21,241,2661,29281,322101,3543121,38974341,428717761,4715895381,51874849201,570623341221,6276856753441,69045424287861,759499667166481,8354496338831301,91899459727144321,1010894056998587541,11119834626984462961,122318180896829092581,1345499989865120018401,14800499888516320202421,16280549877367952...
; AMD64 mpn_mul_1 ; Copyright 2016 Jens Nurmann and Alexander Kruppa ; This file is part of the MPIR Library. ; The MPIR 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.1 ...
%include "TiberianSun.inc" %include "macros/patch.inc" %include "macros/datatypes.inc" cextern SpawnerActive gbool RunAutoSS, 0 gint DoingAutoSS, 0 sstring str_AutoSSDir, "AutoSS" sstring str_AutoSSFileNameFormat, "AutoSS/AutoSS-%d-%d_%d.PCX" sstring str_AutoSSFileNamePng, "AutoSS/AutoSS-%d-%d_%d.png" sstring str_...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
; A212836: Number of 0..n arrays of length 3 with 0 never adjacent to n. ; 2,17,50,107,194,317,482,695,962,1289,1682,2147,2690,3317,4034,4847,5762,6785,7922,9179,10562,12077,13730,15527,17474,19577,21842,24275,26882,29669,32642,35807,39170,42737,46514,50507,54722,59165,63842,68759,73922,79337,85010,90947,97154,103637,1...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Video driver FILE: clr8Color.asm AUTHOR: Jim DeFrisco ROUTINES: Name Description ---- ----------- GBL VidSetPalEntry Set a new palette...
; A234933: The number of binary sequences that contain at least two consecutive 1's and contain at least two consecutive 0's. ; 0,0,0,0,2,8,24,62,148,336,738,1584,3344,6974,14412,29576,60370,122712,248616,502398,1013156,2039840,4101570,8238560,16534432,33161598,66473244,133189272,266771378,534178376,1069385208,21404344...
; ; BIGDVRM.ASM ; ; Implementation for for signed and unsigned division of a 64 bit integer ; by a 32 bit integer, returning the result and remainder. ; ; Copyright (c) 2017 Malcolm J. Smith ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation ...
; A056155: Positive integer k, 1 <= k <= n, which maximizes k^(n+1-k). ; 1,2,2,3,3,3,4,4,4,4,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,10,11,11,11,11,12,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,15,15,16,16,16,16,16,17,17,17,17,17,18,18,18,18,18,19,19,19,19,19,20,20,20 mul $0,8 sub $0,1 lpb $0 add $1,6 ...
; A122653: a(n) = 10*a(n-1) - a(n-2) with a(0)=0, a(1)=6. ; 0,6,60,594,5880,58206,576180,5703594,56459760,558894006,5532480300,54765908994,542126609640,5366500187406,53122875264420,525862252456794,5205499649303520 mov $2,2 lpb $0,1 add $1,$2 add $2,$1 add $1,$2 add $2,$1 sub $0,1 add $2,$1 lpe
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D3E move.l D0, (A4)+ 004D40 dbra D1, $4d38 010A5E sub.w D1, ($6c,A3) 010A62 bgt $10a6a [enemy+6C] 010A66 clr.w ($6c,A3) 010A6A move.b (A4)+, D0 [enemy+6C] 0110DE sub.w D1, ($6c,A3) ...
; A094856: E.g.f.: exp(4x)/(1-4x)^(1/4). ; Submitted by Christian Krause ; 1,5,29,217,2297,34349,674965,16276481,461527793,14993138773,548258687501,22272738733865,994870668959209,48451779617935997,2554818339078836357,144990720049391354449,8811240401831517313505,570857963393730507892901,39275973938444154366908413,285984...
; A139175: a(n) = (n! - 5)/5. ; Submitted by Jon Maiga ; 23,143,1007,8063,72575,725759,7983359,95800319,1245404159,17435658239,261534873599,4184557977599,71137485619199,1280474741145599,24329020081766399,486580401635327999,10218188434341887999,224800145555521535999,5170403347776995327999,124089680346647887871999,310224...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/** * @file random.hpp * * Miscellaneous math random-related routines. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/l...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson 48-jet printer driver FILE: epson48bj220Info.asm AUTHOR: Tsutomu Owa REVISION HISTORY: Name Date Description ---- ---- ------...
; A001570: Numbers k such that k^2 is centered hexagonal. ; Submitted by Jon Maiga ; 1,13,181,2521,35113,489061,6811741,94875313,1321442641,18405321661,256353060613,3570537526921,49731172316281,692665874901013,9647591076297901,134373609193269601,1871582937629476513,26067787517619401581,363077442309042145621,50570164048...
copyright zengfr site:http://github.com/zengfr/romhack 07500E move.b (A0)+, ($a5,A6) [etc+A4] 075012 move.b (A0)+, ($a6,A6) [etc+A5] 08BE86 move.b D0, ($a5,A6) [etc+A4] 08BE8A move.b D0, ($a6,A6) [etc+A5] 08C0FE move.b D0, ($a5,A6) 08C102 move.b D0, ($a6,A6) [etc+A5] 08C64A move.b ($3,A6), ($a5,A6) [etc...