text
stringlengths
1
1.05M
section .text global ft_write ft_write: mov rax, 1 syscall cmp rax, 0 jl ft_write_error ret ft_write_error: mov rax, -1 ret
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x761a, %rdi cmp %rbx, %rbx movb (%rdi), %r13b nop nop nop dec %r12 lea addresses_A_ht+0xd864, %r14 nop nop xor $57310, %r13 mov (%r14), %r10 add %rdi, %rdi lea addresses_norma...
/** * Marlin 3D Printer Firmware * * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the...
; A338588: a(n)/A002939(n+1) is the Kirchhoff index of the disjoint union of two complete graphs each on n and n+1 vertices with the empty graph on n+1 vertices. ; 2,77,334,881,1826,3277,5342,8129,11746,16301,21902,28657,36674,46061,56926,69377,83522,99469,117326,137201,159202,183437,210014,239041,270626,304877,341902,...
#ifndef ISL_CXX_UnionPwAff_IMPL_H #define ISL_CXX_UnionPwAff_IMPL_H #include "isl/UnionPwAff.h" #include "isl/PwAff.hpp" #include "isl/Ctx.hpp" #include "isl/IslException.h" #include "isl/UnionPwMultiAff.hpp" #include <string> #include <cassert> namespace isl { inline isl_union_pw_aff *UnionPwAff::GetCopy() const ...
/* * GDevelop JS Platform * Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights * reserved. This project is released under the MIT License. */ #include "AudioExtension.h" #include "GDCore/CommonTools.h" #include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h" #include "GDCore/Extensions/Bui...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 011770 move.b (A6,D1.w), ($c6,A3) 011776 movea.l (A7)+, A6 [123p+ C6] 02B98A move.b ($c6,A2), D0 02B98E mulu.w D0, D1 [123p+ C6] 02BABC move.b ($c6...
;****************************************************************************** ;* SSE-optimized functions for the DCA decoder ;* Copyright (C) 2012-2014 Christophe Gisquet <christophe.gisquet@gmail.com> ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify it under th...
;*************************************************************************** ; PROGRAM: IOMap ; PURPOSE: Base addresses for I/O Map ; ASSEMBLER: TASM 3.2 ; LICENCE: The MIT Licence ; AUTHOR : MCook ; CREATE DATE : 19 June 15 ;****************************************************************...
; A021972: Decimal expansion of 1/968. ; 0,0,1,0,3,3,0,5,7,8,5,1,2,3,9,6,6,9,4,2,1,4,8,7,6,0,3,3,0,5,7,8,5,1,2,3,9,6,6,9,4,2,1,4,8,7,6,0,3,3,0,5,7,8,5,1,2,3,9,6,6,9,4,2,1,4,8,7,6,0,3,3,0,5,7,8,5,1,2,3,9,6,6,9,4,2,1,4,8,7,6,0,3,3,0,5,7,8,5 add $0,1 mov $1,10 pow $1,$0 mul $1,7 div $1,6776 mod $1,10 mov $0,$1
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
; A193388: Sum of even divisors of phi(n). ; Submitted by Christian Krause ; 0,0,2,2,6,2,8,6,8,6,12,6,24,8,14,14,30,8,26,14,24,12,24,14,36,24,26,24,48,14,48,30,36,30,56,24,78,26,56,30,84,24,64,36,56,24,48,30,64,36,62,56,84,26,84,56,78,48,60,30,144,48,78,62,120,36,96,62,72,56,96,56,182,78,84,78,144,56,112,62,80,84,84,56...
;; ;; 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...
// Copyright 2015 the V8 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. #include <cmath> #include "src/api-inl.h" #include "src/base/utils/random-number-generator.h" #include "src/builtins/builtins-promise-gen.h" #include "...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r9 push %rbx push %rsi lea addresses_WT_ht+0xa110, %r14 clflush (%r14) nop nop nop add %r12, %r12 movb $0x61, (%r14) nop nop nop add $19084, %rsi lea addresses_normal_ht+0xae10, %r9 nop nop nop cmp $20421, %r12 mov (%r9), %r10d nop and %r1...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x10f7, %rsi lea addresses_WT_ht+0x13cb7, %rdi nop nop nop xor $14554, %r8 mov $50, %rcx rep movsw nop nop nop nop cmp %rbp, %rbp lea addresses_UC_ht+0xc1b7, %r10 nop and %r14,...
<% from pwnlib.shellcraft.amd64 import syscall, pushstr from pwnlib.shellcraft import common %> <%page args="filename, fd=1"/> <%docstring> Opens a file and writes its contents to the specified file descriptor. </%docstring> ${pushstr(filename)} ${syscall('SYS_open', 'rsp', 0, 'O_RDONLY')} ${syscall('S...
; A026625: a(n) = Sum_{k=0..floor(n/2)} A026615(n-k,k). ; Submitted by Christian Krause ; 1,1,2,4,7,13,21,36,58,96,155,253,409,664,1074,1740,2815,4557,7373,11932,19306,31240,50547,81789,132337,214128,346466,560596,907063,1467661,2374725,3842388,6217114,10059504,16276619,26336125,42612745,68948872,111561618,180510492,29...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; Serial libraries ; serial control commands ; ; ------ ; $Id: ozstopbits.asm,v 1.3 2016/06/27 21:25:36 dom Exp $ ; SECTION code_clib PUBLIC ozstopbits PUBLIC _ozstopbits ozstopbits: _oz...
; A131865: Partial sums of powers of 16. ; Submitted by Christian Krause ; 1,17,273,4369,69905,1118481,17895697,286331153,4581298449,73300775185,1172812402961,18764998447377,300239975158033,4803839602528529,76861433640456465,1229782938247303441,19676527011956855057,314824432191309680913,5037190915060954894609,805950546...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: HMUI.ViewControllerTransitionHelpers #include "HMUI/ViewControllerTran...
[BITS 64] %include "parameters.inc" extern exit global mul_float64 section .text mul_float64: push rbp mov rbx, ITERATIONS_mul_float64 mov rax, __float64__(1.0) mov rcx, __float64__(2.0) mov rdx, __float64__(3.0) mov rsi, __float64__(4.0) mov rdi, __float64__(5.0) mov r8, __float64__(6...
menu_online_mode_anim_cursor: ; Frame 1 ANIM_FRAME_BEGIN(8) ANIM_SPRITE($fe, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $01, $fd) ANIM_SPRITE($fe, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $41, $02) ANIM_SPRITE($01, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $81, $fd) ANIM_SPRITE($01, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $c1, $02) ...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; Wide resolution (int type parameters) version by Stefano Bodrato ; ; ; $Id: w_undraw.asm $ ; ; ; CALLER LINKAGE FOR FUNCTION POINTERS ; ----- void undraw(...
;***************************************************************************** ;* x86-optimized AC-3 DSP functions ;* Copyright (c) 2011 Justin Ruggles ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* Licens...
.size 8000 .text@50 jp ltimaint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(0f), a ldff(ff), a ld a, fe ldff(05), a ldff(06), a ld a, 04 ldff(ff), a ld a, 04 ldff(07), a ei nop halt .text@1000 ltimaint: nop .text@11f3 ldff a, (0f) jp lprint_a .text@7000 lprint_a: push af ...
; Copyright © 2021 by Brett Kuntz. All rights reserved. .686p .model flat, stdcall option casemap :none include gamedbg.inc include log.asm include output.asm include IDirect3DBaseTexture9.inc include IDirect3DCubeTexture9.inc include IDirect3DDevice9.inc include ID...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
// 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/pong/Pong.asm // The Pong game program was originally written in the high-level Jack language. // The Jack code was then translated by the Jack compiler into VM...
; repeat-macros.asm *pragmapush list ; Save state of list pragma pragma nolist ; Turn off assembly listing and exclude from symbol list ifndef REPEAT_MACRO ; Load macro only once ; Set defaults in case repeat macro is never called to pass assembler ; che...
/* * Copyright (c) 2021, 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, publis...
; A074794: Number of numbers k <= n such that tau(k) == 1 (mod 3) where tau(k) = A000005(k) is the number of divisors of k. ; 1,1,1,1,1,2,2,3,3,4,4,4,4,5,6,6,6,6,6,6,7,8,8,8,8,9,10,10,10,10,10,10,11,12,13,13,13,14,15,15,15,15,15,15,15,16,16,17,17,17,18,18,18,18,19,19,20,21,21,21,21,22,22,23,24,24,24,24,25,25,25,25,25,2...
############################################################################### # 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...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x30a7, %rsi lea addresses_D_ht+0x16321, %rdi nop nop nop nop nop add %rbp, %rbp mov $97, %rcx rep movsw cmp %rdi, %rdi lea addresses_UC_ht+0xa6eb, %rax nop nop nop nop sub %rdx, %rdx m...
// remove all DUNE dependencies from Jakob Schenk's gridIteration.hh implementation // performance results are no longer hurt // merge version created from midg_cpp_modified and gridIteration.hh by Ayesha Afzal #include <array> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <strin...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t b_vector_read_block(void *dst, size_t n, b_vector_t *v, size_t idx) ; ; Copy at most n bytes from the vector at index idx to address ; dst. Returns number of bytes...
db 0 ; species ID placeholder db 60, 45, 50, 70, 80, 80 ; hp atk def spd sat sdf db BUG, FLYING ; type db 45 ; catch rate db 160 ; base exp db NO_ITEM, SILVERPOWDER ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/butterfree/front.dimensions" db GROWTH_MEDI...
; multi-segment executable file template. data segment ; add your data here! pkey db "press any key...$" msg db "Enter A String... $" inputstring label byte max db 20 len db ? st1 db 20 dup(?) ends sta...
############################################################################### # 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...
.xlist include kernel.inc include newexe.inc include tdb.inc include pdb.inc include protect.inc .list NEWEPME = NEPRIVLIB ; flag saying Call WEP on exit externW pLocalHeap externW pStackTop DataBegin externB num_tasks externB graphics externB fBooting externB Kernel_flags ext...
Route19Mons: db $00 db $05 db 5,TENTACOOL db 10,MANTYKE db 15,KRABBY db 15,MARILL db 10,CHINCHOU db 15,STARYU db 20,TENTACOOL db 30,HORSEA db 35,CARVANHA db 40,LAPRAS
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: Text MODULE: TextUndo FILE: tuVariables.asm AUTHOR: Andrew Wilson, Jun 16, 1992 REVISION HISTORY: Name Date Description ---- ---- ----------- atw 6/16/92 ...
; A126665: a(n) = -n^2 + 9n + 53. ; 53,61,67,71,73,73,71,67,61,53,43,31,17,1,-17,-37,-59,-83,-109,-137,-167,-199,-233,-269,-307,-347,-389,-433,-479,-527,-577,-629,-683,-739,-797,-857,-919,-983,-1049,-1117,-1187,-1259,-1333,-1409,-1487,-1567,-1649,-1733,-1819,-1907,-1997,-2089,-2183,-2279 mov $1,9 sub $1,$0 mul $1,$0 m...
; A199107: 5*12^n-1. ; 4,59,719,8639,103679,1244159,14929919,179159039,2149908479,25798901759,309586821119,3715041853439,44580502241279,534966026895359,6419592322744319,77035107872931839,924421294475182079,11093055533702184959,133116666404426219519,1597399996853114634239,19168799962237375610879,230025599546848507330559...
; ; Old School Computer Architecture - interfacing FLOS ; Stefano Bodrato, 2011 ; ; Get pointer to device info table ; ; $Id: get_device_info.asm,v 1.2 2015/01/19 01:33:00 pauloscustodio Exp $ ; INCLUDE "flos.def" PUBLIC get_device_info get_device_info: jp kjt_get_device_info
; A069865: a(n) = Sum_{k = 0..n} C(n,k)^6. ; Submitted by Jamie Morken(s4) ; 1,2,66,1460,54850,2031252,86874564,3848298792,180295263810,8709958973540,433617084579316,22071658807720392,1145600816547477316,60423221241495866600,3231675487858598367240,174928470621208572186960,9568929614185118483080770,528312173436681791506...
MoveTutor: call FadeToMenu call ClearBGPalettes call ClearScreen call DelayFrame ld b, SCGB_PACKPALS call GetSGBLayout xor a ld [wItemAttributeParamBuffer], a call .GetMoveTutorMove ld [wNamedObjectIndexBuffer], a ld [wPutativeTMHMMove], a call GetMoveName call CopyName1 farcall ChooseMonToLearnTMHM jr c...
namespace itk { #if defined(VTK_TYPE_USE___INT64) constexpr __int64 NumericTraits<__int64>::ZeroValue() = 0; constexpr __int64 NumericTraits<__int64>::OneValue() = 1; const unsigned __int64 NumericTraits<unsigned __int64>::ZeroValue() = 0ui64; const unsigned __int64 NumericTraits<unsigned __int64>::OneValue() = 1ui6...
; A004773: Numbers congruent to {0, 1, 2} mod 4: a(n) = floor(4*n/3). ; 0,1,2,4,5,6,8,9,10,12,13,14,16,17,18,20,21,22,24,25,26,28,29,30,32,33,34,36,37,38,40,41,42,44,45,46,48,49,50,52,53,54,56,57,58,60,61,62,64,65,66,68,69,70,72,73,74,76,77,78,80,81,82,84,85,86,88,89,90 mov $1,$0 mul $1,4 div $1,3
// Copyright (c) 2019 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt /** * @file tdouble_ops.hpp * * @brief Macros for defining `tdouble` operators. */ #ifndef CYNODELIC_TESELA_DETAIL_TDOUBLE_OPS_HPP #d...
include "p12f629.inc" org 0 _temp EQU 0x22 init: clrf _temp bsf _temp, 1 main: rlf _temp, f btfss STATUS, C goto main nop goto init zero: nop END
;; ;; Copyright (c) 2020, 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 the ...
#include "defines.hpp" class ac_admin_menu { idd = 1234562; movingEnable = true; enableSimulation = true; class controls { //////////////////////////////////////////////////////// // GUI EDITOR OUTPUT START (by nathalie, v1.063, #Jupubo) //////////////////////////////////////////////////////// class admi...
TITLE CVLINNUM - Copyright (c) SLR Systems 1994 INCLUDE MACROS INCLUDE SEGMENTS INCLUDE MODULES INCLUDE CVSTUFF if fg_pe INCLUDE PE_STRUC endif PUBLIC CV_LINNUMS_4 .DATA EXTERNDEF CV_TEMP_RECORD:BYTE EXTERNDEF CURNMOD_GINDEX:DWORD,EXETABLE:DWORD,BYTES_SO_FAR:DWORD,CV_HEADER_LOC:DWORD,HIGH_WATE...
;######################################### ; project: "Print CF, ZF, OF, SF!" ## ; author: Krepak zorroxied Vitaliy ## ; FRTK 016 ## ; date: 17.02.2011 ## ; ## ;######################################### format PE entry ma...
/* * Copyright 2009-2017 Alibaba Cloud 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...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(24), a ldff(25), a ldff(26), a ld a, 80 ldff(26), a ld a, 3d ldff(16), a ld a, f0 ldff(17), a ld a, 00 ldff(18), a ld a, c7 ldff(19), a ld b, 05 ld c, 07 lwait: dec b jrnz lwait dec c jrnz lwait nop nop nop ldff a, ...
; Routine to get HOTKEY key V2.01  1988 Tony Tebby QJUMP section hotkey xdef hot_gtky xref ut_gtnm1 include 'dev8_keys_err' ;+++ ; Get hotkey key into d7, and update name table pointer ; ; d1-d3 scratch ; d7 r (word) Hotkey ; a1/a2 scratch ; ...
/* * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/*========================================================================= Program: Visualization Toolkit Module: vtkPythonInterpreter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This soft...
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: MIT #include <CL/sycl.hpp> #include <algorithm> #include <cstdio> #include <cstdlib> #include <iostream> #include <numeric> #include <random> using namespace sycl; int main() { queue Q; const size_t N = 16; const size_t M = 16; range<2> st...
; A313721: Coordination sequence Gal.5.129.5 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. ; Submitted by Jamie Morken(s3) ; 1,5,10,15,20,24,29,34,39,44,49,54,59,64,68,73,78,83,88,93,98,103,108,112,117,122,127,132,137,142,147,152,156...
; **************************************************************************************************************** ; **************************************************************************************************************** ; ; LET Command ; ; *********************************************************...
use32 org 0x414d98 label fgets at 0x414bd8 label __acrt_iob_func at 0x41b180 fgets_patch: ; Standard cdecl prolog push ebp mov ebp, esp ; Get stdin stream push 0 call dword[__acrt_iob_func] add esp, 4 ; Forward the call to fgets push eax ; stdin push 128 ; max length of inpu...
RESULTS_START EQU $c000 RESULTS_N_ROWS EQU 2 include "base.inc" ; This test verifies restarting the channel after ; triggering the NRx2 write glitch works as expected CorrectResults: db $20, $20, $20, $20, $20, $20, $20, $20 db $20, $20, $20, $20, $20, $20, $20, $00 SubTest: MACRO xor a ldh [rNR52], a ...
; A133884: a(n) = binomial(n+4,n) mod 4. ; 1,1,3,3,2,2,2,2,3,3,1,1,0,0,0,0,1,1,3,3,2,2,2,2,3,3,1,1,0,0,0,0,1,1,3,3,2,2,2,2,3,3,1,1,0,0,0,0,1,1,3,3,2,2,2,2,3,3,1,1,0,0,0,0,1,1,3,3,2,2,2,2,3,3,1,1,0,0,0,0,1,1,3,3,2,2,2,2,3,3,1,1,0,0,0,0,1,1,3,3,2,2,2,2,3 add $0,4 bin $0,4 lpb $0,1 mod $0,4 lpe mov $1,$0
org 7c3eh call enter_vga ;*************** ;* LET'S GET FREAKY mov al,64h mov cx,0c82h ;lappy: rep stosb ; loop lappy ; mov al,32h mov cx,0780h ;lappy2: rep stosb ; loop lappy2 ;*************** ;* DECODER ;* decoder: ;es should be set up by enter_vga mov si,disk xor di,di ;zero di for 0,0 xy mov cx,33h...
; A164583: a(n)=4^n*(2n + 1)^2. ; 1,36,400,3136,20736,123904,692224,3686400,18939904,94633984,462422016,2218786816,10485760000,48922361856,225754218496,1031865892864,4677219385344,21045339750400,94076963651584,418089296461824 mov $1,$0 mul $0,2 add $0,1 mov $2,2 pow $2,$1 mul $0,$2 pow $0,2
;Model Declaration IDEAL MODEL SMALL ;Using Small Model Arc STACK 100H ;Pre order 100H memory STACK P286 ;Enable All Command in 80286 with TASM ;Declaration Library that being used include 'graphfun.inc' include 'movesfun.inc' include 'bmpfun.inc'...
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University at Buffalo // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
Name: ys_mapdt.asm Type: file Size: 76124 Last-Modified: '2016-05-13T04:51:16Z' SHA-1: 269EB28C7D86438C24D5CB8A0D52CF004469401C Description: null
/******************************************************************************* * Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II * Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI * * Distributed under the Boost Software License, Version 1.0. * ...
; ; z88dk RS232 Function ; ; OSCA version ; ; unsigned char rs232_init() ; ; $Id: rs232_init.asm,v 1.2 2015/01/22 12:09:57 stefano Exp $ PUBLIC rs232_init INCLUDE "osca.def" rs232_init: xor a out (sys_timer),a ; timer to overflow every 0.004 secconds in a,(sys_ser...
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, [wSpriteStateData1 + 9] cp SPRITE_FACING_UP ret nz ld hl, .B...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 018D6C move.b ($bc,A6), D0 [123p+ AB] 018D70 beq $18d7a [123p+ BC] 018D76 move.b D0, ($bc,A6) 018D7A move.b ($b3,A6), D0 [123p+ BC] 019266 cmpi.b...
Route2_h: db OVERWORLD ; tileset db ROUTE_2_HEIGHT, ROUTE_2_WIDTH ; dimensions (y, x) dw Route2_Blocks ; blocks dw Route2_TextPointers ; texts dw Route2_Script ; scripts db NORTH | SOUTH ; connections NORTH_MAP_CONNECTION ROUTE_2, PEWTER_CITY, -3, 2, PewterCity_Blocks SOUTH_MAP_CONNECTION ROUTE_2, VIRIDIAN_CITY...
; A243305: a(n) = 2^phi(n)+1 = A066781(n)+1. ; 3,3,5,5,17,5,65,17,65,17,1025,17,4097,65,257,257,65537,65,262145,257,4097,1025,4194305,257,1048577,4097,262145,4097,268435457,257,1073741825,65537,1048577,65537,16777217,4097,68719476737,262145,16777217,65537,1099511627777,4097,4398046511105,1048577,16777217,4194305,703687...
; github.com/torvalds/linux/blob/master/arch/x86/entry/syscalls/syscall_64.tbl %define SYS_READ 0 %define SYS_WRITE 1 %define SYS_OPEN 2 %define SYS_EXIT 60 ; pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html %define STDIN 0 %define STDOUT 1 %define STDERR 2 ; pubs.opengroup.org/onlinepubs/9...
; ;----------- GFX paging ------------- SECTION code_clib PUBLIC pixeladdress_MODE2 INCLUDE "target/spc1000/def/spc1000.def" ; Entry h = x ; l = y ; Exit: hl = address ; a = pixel number ; Uses: a, bc, de, hl .pixeladdress_MODE2 ; add y-times the nuber of bytes per line (32) ; or just multiply ...
# standard Decaf preamble .text .align 2 .globl main _factorial: # BeginFunc 36 subu $sp, $sp, 8 # decrement sp to make space to save ra, fp sw $fp, 8($sp) # save fp sw $ra, 4($sp) # save ra addiu $fp, $sp, 8 # set up new fp subu $sp, $sp, 36 # decrement sp to make space for locals/temps #...
;------------------------------- ; examine.asm - NEX file header examinator for sjasmplus ; © Peter Helcmanovsky 2020, license: https://opensource.org/licenses/MIT ; ; Assembles with sjasmplus - https://github.com/z00m128/sjasmplus (v1.18.0+) ; Usage: sjasmplus --msg=war examine.asm -DNEX_FILE=\"some.nex\" ; ; The NEX ...
INCLUDE "hardware.inc" ;------------------------------------------------------------------------------- ;------------------------------------------------------------------------------- SECTION "VBlank Interrupt", ROM0[$0040] jp vblank_handle ;-----------------------------------------------------------------------...
; A023376: a(n+1) = a(n) converted to base 8 from base 4 (written in base 10). ; Submitted by Jon Maiga ; 4,8,16,64,512,8192,524288,268435456,4398046511104,9223372036854775808,19807040628566084398385987584,2787593149816327892691964784081045188247552,3291009114642412084309938365114701009965471731267159726697218048,13349...
SECTION code_graphics PUBLIC xordrawr PUBLIC _xordrawr EXTERN xorplot EXTERN commondrawr ;void xordrawr(int x2, int y2) __smallc ;Note ints are actually uint8_t xordrawr: _xordrawr: ld hl,xorplot jp commondrawr
;;; Some vanilla bugfixes included in all VARIA seeds ;;; compile with asar arch snes.cpu lorom ;;; skips suits acquisition animation org $848717 rep 4 : nop ;;; fix to speed echoes bug when hell running org $91b629 db $01 ;;; disable GT code org $aac91c bra $3f ;;; Pause menu fixes : ;;; d...
; A075747: Numbers n such that 210*n + 17 is prime. ; Submitted by Jon Maiga ; 0,1,3,4,6,7,8,9,14,15,18,19,20,22,26,28,30,32,33,36,41,42,44,45,46,47,52,56,57,58,62,64,66,67,70,72,75,77,79,81,84,86,87,90,96,99,100,101,103,105,106,108,109,110,111,112,113,114,123,125,127,129,131,132,133,139,142,143,145,146,149,150,151,157...
/***************************************************************************** * * * OpenNI 2.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
db DEX_BELLSPROUT ; pokedex id db 50 ; base hp db 75 ; base attack db 35 ; base defense db 40 ; base speed db 70 ; base special db GRASS ; species type 1 db POISON ; species type 2 db 255 ; catch rate db 84 ; base exp yield INCBIN "pic/bmon/bellsprout.pic",0,1 ; 55, sprite dimensions dw BellsproutPicFront dw Bellsprout...
LDA F100 MVI H, 00 MOV B, A RRC MOV C, A LXI D, F200 LOOP: MOV A, B CALL REM DCR C JNZ LOOP LDA F300 MOV B, A MVI A, 00 LOOP2: ADD B DCR B JNZ LOOP2 MOV B, A LDA F100 MVI C, 01 CMP B JZ PERFECT DCR C PERFECT: MOV A, C STA F400 HLT REM: MOV L, C LOOP1: CMP L J...
;-------------------------------------------------------------------------------- ; OnLoadOW ;-------------------------------------------------------------------------------- OnLoadMap: JSL.l SetLWDWMap LDA $7EF2DB ; thing we wrote over RTL ;----------------------------------------------------------------------------...
; A037544: Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,2. ; 1,5,17,52,158,476,1429,4289,12869,38608,115826,347480,1042441,3127325,9381977,28145932,84437798,253313396,759940189,2279820569,6839461709,20518385128,61555155386,184665466160,553996398481 add $0,1 mov $2,6 l...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %r9 push %rbx push %rsi lea addresses_WT_ht+0x1dfd2, %r15 xor $39981, %r9 movups (%r15), %xmm1 vpextrq $0, %xmm1, %r10 sub %rsi, %rsi lea addresses_normal_ht+0x12a72, %r8 nop sub $27939, %rbx mov $0x6162636465666768, %r13 movq %r13...
// ----------------------------------------------------------------------------------------------------- // 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...
; L0811.asm ssa nw goblin module ; Generated 04.26.2001 by mlevel ; Modified 04.26.2001 by Abe Pralle INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" STATE_DEFUSED EQU 2 ;--------------------------------------------------------------------- SECTION "Level0811Section",ROMX ;-----------------------------------...
.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) .code start: main proc mo...
// Copyright 2022 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 ...
// gateway.cpp,v 1.6 2001/05/09 19:17:09 parsons Exp #include "test_dsi.h" #include "ace/Get_Opt.h" #include "ace/Task.h" ACE_RCSID(DSI_Gateway, server, "gateway.cpp,v 1.6 2001/05/09 19:17:09 parsons Exp") const char *ior = "file://test.ior"; int niterations = 5; int do_shutdown = 0; const char *ior_outpu...
; A263390: a(3n) = n, otherwise a(n) = a(floor(2n/3)). ; 0,0,0,1,0,1,2,0,1,3,2,0,4,1,3,5,2,0,6,4,1,7,3,5,8,2,0,9,6,4,10,1,7,11,3,5,12,8,2,13,0,9,14,6,4,15,10,1,16,7,11,17,3,5,18,12,8,19,2,13,20,0,9,21,14,6,22,4,15,23,10,1,24,16,7,25 lpb $0,1 mov $2,$0 gcd $0,3 add $0,3 mul $0,$2 div $0,6 lpe mov $1,$0 div $1...
; A040865: Continued fraction for sqrt(895). ; Submitted by Christian Krause ; 29,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10,1,58,1,10 gcd $0,262156 mul $0,42 mod $0,13 mul $0,2 mov $1,$...
; ; Small C z88 stdlib functions ; ; Return absolute value of long ; ; ----- ; $Id: labs_callee.asm,v 1.3 2015/01/19 01:33:22 pauloscustodio Exp $ PUBLIC labs_callee EXTERN l_long_neg PUBLIC ASMDISP_LABS_CALLEE .labs_callee pop af pop hl pop de push af .asmentry bit 7,d ret z jp l_long_...