text stringlengths 1 1.05M |
|---|
;Source by Six of Style (Oliver VieBrooks)
;http://style64.org http://thedarkside.ath.cx mailto:six@darklordsofchaos.com
;
;Last Updated 8/27/2005
;
;DNS PROTOCOL=================================================================
; _,.-------.,_
; PACKET FORMAT: ... |
; A145812: Odd positive integers a(n) such that for every odd integer m > 1 there exists a unique representation of m as a sum of the form a(l) + 2a(s).
; 1,3,9,11,33,35,41,43,129,131,137,139,161,163,169,171,513,515,521,523,545,547,553,555,641,643,649,651,673,675,681,683,2049,2051,2057,2059,2081,2083,2089,2091,2177,217... |
; A021461: Decimal expansion of 1/457.
; Submitted by Jon Maiga
; 0,0,2,1,8,8,1,8,3,8,0,7,4,3,9,8,2,4,9,4,5,2,9,5,4,0,4,8,1,4,0,0,4,3,7,6,3,6,7,6,1,4,8,7,9,6,4,9,8,9,0,5,9,0,8,0,9,6,2,8,0,0,8,7,5,2,7,3,5,2,2,9,7,5,9,2,9,9,7,8,1,1,8,1,6,1,9,2,5,6,0,1,7,5,0,5,4,7,0
mov $2,10
pow $2,$0
mul $2,10
div $2,457
mov $0,$2
mod ... |
###############################################################################
# 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... |
/*
* Copyright 2015 Aldebaran
*
* 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 to in... |
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%if __YASM_VERSION_ID__ < 01010000h
%error yasm version 1.1.0 or later needed.
%endif
; Yasm automatically includes .00 and complains about redefining it.
; https://www.tortall.net/projects/ya... |
// !! NOTE : R15 register must be preserved
define INIT_RND 10012h
// Object header fields
define elSizeOffset 0004h
define elVMTOffset 0010h
define elObjectOffset 0010h
// ; --- API ---
// wsubcopyz(target,index,size,arr)
procedure coreapi'core_wsubcopyz
mov rax, [rsp+32]
... |
default rel
section .data
elf_sym_size:
db 0x18
section .text
global run_through_elf_phdr3:function
global run_through_elf_shdr3:function
global run_through_elf_symtable3:function
global __z__obj__run_through_elf_phdr3:function
global __z__obj__run_through_elf_shdr3:function
global __z__obj__run_through_... |
.globl Tela29
Tela29:
addi $10, $0, 0xa8f2a8
sw $10, 268500992($0)
addi $10, $0, 0x00d800
sw $10, 268500996($0)
addi $10, $0, 0x00d800
sw $10, 268501000($0)
addi $10, $0... |
;
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at ww... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... |
/*
base64.cpp and base64.h
base64 encoding and decoding with C++.
Version: 1.01.00
Copyright (C) 2004-2017 René Nyffenegger
This source code is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this soft... |
; void rewind_unlocked_fastcall(FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC rewind_unlocked_fastcall
EXTERN asm_rewind_unlocked
rewind_unlocked_fastcall:
push hl
pop ix
jp asm_rewind_unlocked
|
// Copyright 2018 The Fuchsia 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 "remote_service.h"
#include <lib/async/default.h>
#include "src/connectivity/bluetooth/core/bt-host/common/log.h"
#include "src/connectivity/blu... |
; A114479: Kekulé numbers for certain benzenoids.
; 3,20,136,928,6336,43264,295424,2017280,13774848,94060544,642285568,4385800192,29948116992,204498534400,1396403339264,9535238438912,65110680797184,444603538866176,3035942864551936,20730714605486080
mov $1,3
mov $2,2
lpb $0
sub $0,1
add $1,$2
add $2,$1
mul $1,4... |
// OOP244 Workshop 7 - Derived Classes
// w7_at_home.cpp
// Version 2.0
// Date 2018/10/31
// Author Hasan Murtaza, Chris Szalwinski
// Description
// This file is the client module for Workshop 7
/////////////////////////////////////////////////////
#include <iostream>
#include "Hero.h"
#include "SuperHero.h"
using ... |
/*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file make_record.hpp
* \author Andrey Semashev
* \date 18.03.2009
*
... |
;<Practice Addition carry>
MVI A,45
MVI B,48
MVI C,32
ADC B; A-> 93
ADC C; A-> 125
STA RESULT1
MVI A,129
MVI B,145
MVI C,44
ADC B; A-> 18
ADC C; A-> 63
STA RESULT2
hlt
RESULT1: db 0 ;RESULT1 must be 125
RESULT2: db 0 ;RESULT1 must be 63 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/compiler_specifi... |
; A145594: A145593(n) mod 9.
; 8,3,4,2,6,7,5,0,1,8,3,4,2,6,7,5,0,1,8,3,4,2,6,7,5,0,1,8,3,4,2,6,7,5,0,1,8,3,4,2,6,7,5,0,1
mul $0,3
add $0,7
bin $0,4
mod $0,9
|
;
; Copyright (c) 2020 Phillip Stevens
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, 2020 May
;
;--------------------------------------------------... |
/**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pi;
typedef pair<ll,ll> pl;
typedef vector<string> vs;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vec... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1700, %rdx
nop
nop
nop
sub %rdi, %rdi
movw $0x6162, (%rdx)
sub $2549, %rdx
lea addresses_WT_ht+0xf100, %rsi
lea addresses_UC_ht+0x4f00, %rdi
clflush (%rdi)
nop
nop
nop
nop
xor %r15, %r15
mov $2... |
; A266705: Coefficient of x^2 in minimal polynomial of the continued fraction [1^n,sqrt(5),1,1,1,...], where 1^n means n ones.
; Submitted by Jon Maiga
; 1,11,11,45,101,281,719,1899,4955,12989,33989,89001,232991,609995,1596971,4180941,10945829,28656569,75023855,196415019,514221179,1346248541,3524524421,9227324745,24157... |
global start
section .text
bits 32
start:
; print `OK`
mov dword [0xb8000], 0x2f4b2f4f
hlt |
xor $t0, $t0, $t0
jal test1
jal test2
test1:
addi $t0, $t0, 0x5
jr $ra
test2:
addi $t0, $t0, 0xa
jr $ra |
; A277928: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 5", based on the 5-celled von Neumann neighborhood.
; 1,2,0,15,0,63,0,255,0,1023,0,4095,0,16383,0,65535,0,262143,0,1048575,0,4194303,0,16777215,0,6710... |
dnl HP-PA 2.0 mpn_rshift -- Right shift.
dnl Copyright 1997, 2000, 2002, 2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x358a, %r10
nop
sub $9764, %rcx
movb $0x61, (%r10)
nop
nop
add $27961, %rbx
lea addresses_normal_ht+0x8084, %rsi
nop
nop
nop
and %r8, %r8
movb $0x61, (%rsi)
nop
nop
nop
sub $1... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: nontsExec.asm
AUTHOR: Adam de Boor, May 9, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date De... |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_l_sdcc
PUBLIC __modulong_callee
EXTERN l_divu_32_32x32
__modulong_callee:
; unsigned 32-bit mod
;
; enter : stack = divisor (32-bit), dividend (32-bit), ret
;
; exit : dehl = remainder
; dehl'= quotient
pop af
exx
... |
; float __fsmax (float number) __z88dk_fastcall
SECTION code_clib
SECTION code_math
PUBLIC asm_fsmax
EXTERN m32_fsmax_fastcall
; convert sdcc float to infinity with correct sign
;
; enter : stack = ret
; DEHL = sccz80_float number
;
; exit : DEHL = sccz80_float(infinity)
;
... |
; A143785: Antidiagonal sums of the triangle A120070.
; 3,8,20,36,63,96,144,200,275,360,468,588,735,896,1088,1296,1539,1800,2100,2420,2783,3168,3600,4056,4563,5096,5684,6300,6975,7680,8448,9248,10115,11016,11988,12996,14079,15200,16400,17640,18963,20328,21780,23276,24863,26496,28224,30000,31875,33800,35828,37908,40095,... |
###############################################################################
# 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... |
;;; Copyright 2020 Tadashi G. Takaoka
;;;
;;; 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 ... |
#include <graphene/chain/contract.hpp>
#include <graphene/chain/contract_engine_builder.hpp>
#include <uvm/uvm_lib.h>
#include <fc/array.hpp>
#include <fc/crypto/ripemd160.hpp>
#include <fc/crypto/elliptic.hpp>
#include <fc/crypto/base58.hpp>
#include <fc/crypto/sha256.hpp>
#include <fc/io/json.hpp>
#include <boost/u... |
%macro def_exception_handler 1
global exc%1
exc%1:
cli
push dword 0
push dword %1
jmp int_common_stub
%endmacro
; See: https://github.com/littleosbook/littleosbook/blob/e90faeb24c5c9fed8cde9a35974893706e81cbbf/interrupts.md
;
; +------------+
; +40 | %SS |
; +32 | %RSP |
; +24 | %C... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
; A024403: [ (4th elementary symmetric function of S(n))/(3rd elementary symmetric function of S(n)) ], where S(n) = {first n+3 positive integers congruent to 2 mod 3}.
; 1,3,5,9,13,18,24,30,37,45,54,64,74,85,97,109,122,136,151,167,183,200,218,236,255,275,296,318,340,363,387,411,436,462,489,517,545,574,604,634,665,697,... |
; A022789: Place where n-th 1 occurs in A023127.
; 1,4,9,17,27,40,55,73,93,116,141,168,198,230,265,302,342,384,429,476,525,577,631,688,747,809,873,940,1009,1081,1155,1231,1310,1391,1475,1561,1650,1741,1835,1931,2029,2130,2233,2339,2447,2558,2671,2787
lpb $0
mov $2,$0
sub $0,1
seq $2,198083 ; Ceiling(n*Sqrt(6)).
... |
; A105469: Number of numbers of the form 6k+3 with prime(n) <= 6k+3 < prime(n+1).
; Submitted by Jamie Morken(s2)
; 0,1,0,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,2,1,1,0,2,0,1,1,1,1,1,0,2,0,1,0,2,2,1,0,1,1,0,2,1,1,1,0,1,1,0,2,2,1,0,1,2,1,2,0,1,1,1,1,1,1,1,1,1,1,2,0,2,0,1,1,1,1,1,0,1,2,1,1,1,1,1,2,0,3,1
mov... |
Unreferenced_Function88248:
ld c, CAL
ld a, [wPlayerGender]
bit PLAYERGENDER_FEMALE_F, a
jr z, .okay
ld c, KAREN
.okay
ld a, c
ld [wTrainerClass], a
ret
MovePlayerPicRight:
hlcoord 6, 4
ld de, 1
jr MovePlayerPic
MovePlayerPicLeft:
hlcoord 13, 4
ld de, -1
; fallthrough
MovePlayerPic:
; Move player pic ... |
## Free shared QPU mutex
# For development purposes to make sure mutex is released
# Works in all modes (default is fine)
nop;
nop;
nop;
nop;
nop;
nop;
nop;
nop;
or.setf mutex, nop, nop;
nop;
nop;
nop;
nop;
nop;
nop;
nop;
nop;
nop;
mov.setf irq, nop;
nop; thrend
nop
nop
|
; A187689: Rank transform of the sequence round(3n/4); complement of A187690.
; 1,3,4,5,7,8,10,12,13,15,16,18,19,20,22,23,25,27,28,29,31,32,34,35,37,39,40,42,43,44,46,48,49,51,52,53,55,56,58,60,61,63,64,66,67,68,70,72,73,75,76,77,79,80,82,83,85,87,88,90,91,92,94,95,97,99,100,101,103,104,106,108,109,111,112,114,115,116,... |
TITLE FINDFIRST - Copyright (C) SLR Systems 1994
INCLUDE MACROS
INCLUDE IO_STRUC
INCLUDE WIN32DEF
PUBLIC DO_FINDFIRST,DO_FINDNEXT,CLOSE_FINDNEXT
.DATA
EXTERNDEF ASCIZ:BYTE,DTA:BYTE
.CODE PHASE1_TEXT
EXTERNDEF MOVE_FN_TO_ASCIZ:PROC,_parse_filename:proc
; Return: C not found, NC found
DO_FINDF... |
; ******************************************************************************
; ******************************************************************************
;
; Name : data.asm
; Purpose : Data Allocation.
; Author : Paul Robson (paul@robsons.org.uk)
; Created : 12th November 2019
;
; ********************... |
global _string_reverse
_string_reverse:
push bp
mov bp, sp
mov si, [bp+4]
call os_string_reverse
pop bp
ret
|
; A100172: Structured triakis icosahedral numbers (vertex structure 4).
; 1,32,150,412,875,1596,2632,4040,5877,8200,11066,14532,18655,23492,29100,35536,42857,51120,60382,70700,82131,94732,108560,123672,140125,157976,177282,198100,220487,244500,270196,297632,326865,357952,390950,425916,462907,501980,543192,586600,632261... |
section .data
msg: DB 'Hola Mundo', 10
largo EQU $ - msg
global _start
section .text
_start:
mov rax, 4 ; funcion 4
mov rbx, 1 ; stdout
mov rcx, msg ; mensaje
mov rdx, largo ; longitud
int 0x80
mov rax, 1
mov rbx, 0
int 0x80
|
; This is a basic template file for writing Spectrum code.
; It configures the assembler and jumps to the code.
AppFilename equ "playersprite" ; What we're called (for file generation)
AppFirst equ $6000 ; First byte of code
zeusem... |
org 0x7C00
%define WIDTH 320
%define HEIGHT 200
%define COLUMNS 40
%define ROWS 25
%define COLOR_BLACK 0
%define COLOR_BLUE 1
%define COLOR_GREEN 2
%define COLOR_CYAN 3
%define COLOR_RED 4
%define COLOR_MAGENTA 5
%define COLOR_BROWN 6
%define COLOR_LIGHTGRAY 7
%define COLOR_DARKGRAY 8
%define COLOR_LIGHTBLUE 9
%de... |
; Stop Go C/ASM Mix Example
; Jason Losh
;-----------------------------------------------------------------------------
; Hardware Target
;-----------------------------------------------------------------------------
; Target Platform: EK-TM4C123GXL Evaluation Board
; Target uC: TM4C123GH6PM
; System Clock: ... |
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <t... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... |
aci -128 ; CE 80
aci 127 ; CE 7F
aci 255 ; CE FF
adc (hl) ; 8E
adc -128 ; CE 80
adc 127 ; CE 7F
adc 255 ; CE FF
adc a ; 8F
adc a... |
; A107400: Numbers k such that 107*k + 109 is prime.
; Submitted by Jon Maiga
; 0,6,14,24,30,32,42,44,56,60,80,86,90,122,126,134,146,162,164,182,186,204,224,234,242,246,252,266,276,284,290,294,302,312,330,336,354,356,360,374,386,416,422,426,440,450,452,464,482,494,500,504,506,510,554
mov $2,$0
add $2,2
pow $2,2
lpb $2... |
; A315052: Coordination sequence Gal.6.338.3 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,9,15,20,24,30,34,39,45,49,54,59,63,69,74,78,84,88,93,99,103,108,113,117,123,128,132,138,142,147,153,157,162,167,171,177,182,186,192,196,... |
;
;/*
; * FreeRTOS Kernel V10.1.1
; * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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 res... |
format PE GUI 4.0 DLL at 10000000h
entry start
include 'win32w.inc'
section '.code' code readable executable
include '..\lib\misc.inc'
proc start hinstDLL,fdwReason,lpvReserved
cmp [fdwReason],DLL_PROCESS_ATTACH
jnz .fin
push [hinstDLL]
call [DisableThreadLibraryCalls]
xor eax,eax
push eax
p... |
#include "Poco/Util/Application.h"
#include "Poco/DateTimeFormatter.h"
#include "Application.h"
#include "Monitor.h"
#include "Core.h"
using Poco::Util::Application;
using Poco::Util::TimerTask;
using Poco::Util::Timer;
// Define the static variable.
Timer Monitor::monitor_timer;
void Monitor::Task::run(void) {
... |
; A188819: Number of n X 3 binary arrays without the pattern 0 1 diagonally or antidiagonally.
; 8,25,48,81,120,169,224,289,360,441,528,625,728,841,960,1089,1224,1369,1520,1681,1848,2025,2208,2401,2600,2809,3024,3249,3480,3721,3968,4225,4488,4761,5040,5329,5624,5929,6240,6561,6888,7225,7568,7921,8280,8649,9024,9409,980... |
//
// Copyright (c) 2018 CNRS
//
#include "pinocchio/fwd.hpp"
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
#include "pinocchio/algorithm/kinematics.hpp"
#include "pinocchio/algorithm/jacobian.hpp"
#include "pinocchio/algorithm/crba.hpp"
#include "pinocchio/algorithm/rnea.hpp"
#incl... |
org 0xC0800000
use32
_start:
mov al, 'A'
mov byte [0xC0000000+0xB8000], al
mov eax, 200
ret
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x623d, %rdi
nop
nop
nop
add $60329, %r10
movb $0x61, (%rdi)
nop
nop
nop
nop
xor %rcx, %rcx
lea addresses_D_ht+0x1540b, %r15
xor $63563, %rbx
mov $0x6162636465666768, %r9
movq %... |
; size_t strlcpy_callee(char * restrict s1, const char * restrict s2, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC _strlcpy_callee
EXTERN asm_strlcpy
_strlcpy_callee:
pop af
pop de
pop hl
pop bc
push af
jp asm_strlcpy
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x185e4, %rsi
lea addresses_UC_ht+0x1d794, %rdi
nop
nop
nop
dec %r14
mov $24, %rcx
rep movsw
and $41503, %r13
lea addresses_UC_ht+0x3128, %r8
sub $51859, %rsi
mov $0x6162636465666768, %r... |
#include "cea_heuristic.h"
#include "domain_transition_graph.h"
#include "global_operator.h"
#include "global_state.h"
#include "globals.h"
#include "option_parser.h"
#include "plugin.h"
#include <cassert>
#include <limits>
#include <vector>
using namespace std;
/* Implementation notes:
The main data structure... |
; A039825: a(n) = floor((n^2 + n + 8) / 4).
; 2,3,5,7,9,12,16,20,24,29,35,41,47,54,62,70,78,87,97,107,117,128,140,152,164,177,191,205,219,234,250,266,282,299,317,335,353,372,392,412,432,453,475,497,519,542,566,590,614,639
add $0,2
bin $0,2
div $0,2
add $0,2
|
CheckWarpCollision::
; Is this tile a warp?
ld a, [wPlayerStandingTile]
cp COLL_PIT
jr z, .warp
cp COLL_PIT_68
jr z, .warp
and $f0
cp HI_NYBBLE_WARPS
jr z, .warp
and a
ret
.warp
scf
ret
CheckDirectionalWarp::
; If this is a directional warp, clear carry (press the designated button to warp).
; Else, set c... |
; Multiplexa o padrão 1234 no display
; de 4 segmentos.
; Baseado no exemplo https://www.edsim51.com/examples.html#prog3
start:
CALL clean
SETB P3.3 ; |
SETB P3.4 ; | habilita display 3
MOV P1, #11111001B ; padrão para o 1 no display
CALL clean
CLR P3.3 ; habilita display 2
MOV P1, #10100100B ; put pattern f... |
state_transition_pre_scroll_down:
.(
; Call the scrolling routine
lda #0
sta tmpfield3
sta tmpfield4
lda #<camera_steps
sta extra_tmpfield1
lda #>camera_steps
sta extra_tmpfield2
lda #1
jsr scroll_transition
; No need to adjust the stop position
; we expect rendering to be disabled soon after we return
r... |
; ---------------------------------------------------------------------------
; Animation script - missile that Buzz Bomber throws
; ---------------------------------------------------------------------------
dc.w byte_9A2E-Ani_obj23
dc.w byte_9A32-Ani_obj23
byte_9A2E: dc.b 7, 0, 1, $FC
byte_9A32: dc.b 1, 2, 3, $FF... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xb43, %rax
nop
add %r8, %r8
vmovups (%rax), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %r12
nop
xor $23026, %r8
lea addresses_A_ht+0xf063, %rsi
lea addresses_D_ht+0x19303... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; put 2 into eax for future load into xmm0
mov eax, 2
;TEST_BEGIN_RECORDING
lea rcx, [rsp-4]
mov [rcx], eax
cvtsi2sd xmm0, [rcx]
mov ecx, 0
;TEST_END_RECORDING
cvtsi2sd xmm0, ecx
|
SECTION rodata_font_fzx
PUBLIC _ff_ao_Soxz
_ff_ao_Soxz:
BINARY "font/fzx/fonts/ao/Soxz/Soxz.fzx"
|
; A015574: Expansion of x/(1 - 8*x - 3*x^2).
; Submitted by Jamie Morken(s4)
; 0,1,8,67,560,4681,39128,327067,2733920,22852561,191022248,1596735667,13346952080,111565823641,932567445368,7795237033867,65159598607040,544662499957921,4552778795484488,38056217863749667,318108079296450800,2659033287962855401,222265905415921... |
Map_3629E0: dc.w Frame_362A28-Map_3629E0
dc.w Frame_362A42-Map_3629E0
dc.w Frame_362A4A-Map_3629E0
dc.w Frame_362A52-Map_3629E0
dc.w Frame_362A5A-Map_3629E0
dc.w Frame_362A68-Map_3629E0
dc.w Frame_362A70-Map_3629E0
dc.w Frame_362A78-Map_3629E0
dc.w Frame_362A80-Map_3629E0
dc.w Frame_362A88-Map_3629E0
... |
; A025480: a(2n) = n, a(2n+1) = a(n).
; 0,0,1,0,2,1,3,0,4,2,5,1,6,3,7,0,8,4,9,2,10,5,11,1,12,6,13,3,14,7,15,0,16,8,17,4,18,9,19,2,20,10,21,5,22,11,23,1,24,12,25,6,26,13,27,3,28,14,29,7,30,15,31,0,32,16,33,8,34,17,35,4,36,18,37,9,38,19,39,2,40,20,41,10,42,21,43,5,44,22,45,11,46,23,47,1,48,24,49,12
add $0,1
lpb $0
dif... |
// Copyright (c) 2012-2016 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 "addrman.h"
#include "test/test_futurocoin.h"
#include <string>
#include <boost/test/unit_test.hpp>
#include "hash.h"... |
; A044802: Numbers n such that string 8,9 occurs in the base 10 representation of n but not of n+1.
; 89,189,289,389,489,589,689,789,899,989,1089,1189,1289,1389,1489,1589,1689,1789,1899,1989,2089,2189,2289,2389,2489,2589,2689,2789,2899,2989,3089,3189,3289,3389,3489,3589,3689,3789,3899
mov $2,$0
add $0,2
mod $0,10
mov ... |
format PE CONSOLE
include '%FASM%\include\win32ax.inc'
.code
start:
invoke AllocConsole
invoke GetStdHandle, STD_OUTPUT_HANDLE
mov [output], eax
invoke GetStdHandle, STD_INPUT_HANDLE
mov [input], eax
lop:
invoke ReadConsole, [input],buffer,1024,written,0
invoke WriteConso... |
db KINGLER ; 099
db 55, 130, 115, 75, 50, 50
; hp atk def spd sat sdf
db WATER, WATER ; type
db 60 ; catch rate
db 206 ; 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/kingler/front.dimension... |
; A003153: a(n) = integer nearest n*(1+sqrt(2)).
; Submitted by Christian Krause
; 2,5,7,10,12,14,17,19,22,24,27,29,31,34,36,39,41,43,46,48,51,53,56,58,60,63,65,68,70,72,75,77,80,82,84,87,89,92,94,97,99,101,104,106,109,111,113,116,118,121,123,126,128,130,133,135,138,140,142,145,147,150,152,155,157,159,162,164,167,169,1... |
; Dummy file libs
;
XLIB remove
.remove
ld hl,-1 ;error
ret
|
GLOBAL getPressedKey
section .text
;------------------------------------------------------------
; Funcion que toma del puerto 60h la tecla presionada al
; registro al para que sea recibido por el driver de teclado
; como char
;------------------------------------------------------------
getPressedKey:
m... |
; A084060: a(n) = 1/2 + (1-6*n)*(-1)^n/2.
; 1,3,-5,9,-11,15,-17,21,-23,27,-29,33,-35,39,-41,45,-47,51,-53,57,-59,63,-65,69,-71,75,-77,81,-83,87,-89,93,-95,99,-101,105,-107,111,-113,117,-119,123,-125,129,-131,135,-137,141,-143,147,-149,153,-155,159,-161,165,-167,171,-173,177,-179,183,-185,189,-191,195,-197,201,-203,207,... |
;// TI File $Revision: /main/8 $
;// Checkin $Date: October 7, 2010 11:41:29 $
;//###########################################################################
;//
;// FILE: DSP2803x_Cla.asm
;//
;// TITLE: CLA Assembly Code.
;//
;// This file contains the CLA assembly code. When building the project
;// containing th... |
// Copyright 2018 The Fuchsia 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 "src/modular/lib/scoped_tmpfs/scoped_tmpfs.h"
#include <lib/fdio/directory.h>
#include <lib/fdio/fd.h>
#include <lib/fdio/fdio.h>
#include <lib/s... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xf0d0, %rbx
nop
nop
nop
sub $3942, %rcx
mov $0x6162636465666768, %r10
movq %r10, %xmm7
movups %xmm7, (%rbx)
nop
add $23511, %rax
lea addresses_D_ht+0x150aa, %r14
nop
nop
dec %r... |
; A256971: Partial sums of A256970.
; Submitted by Jamie Morken(s3)
; 5,22,59,64,165,170,367,624,629,1030,1035,1612,2289,2294,2311,2316,2329,3626,3631,5232,5237,5250,5279,5284,5325,5330,8247,11384,11389,11402,11407,11424,15781,15786,15799,15804,21281,21334,21339,21376,21381,28438,28451,28456,36557,36562,45399,45412,454... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>_sysctl(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall _sysctl.
See 'man 2 _sysctl' for more information.
Arguments:
vararg(int): vararg
Returns:
long
</%docstring>... |
; A182766: Beatty sequence for 5 - 2*sqrt(2).
; 2,4,6,8,10,13,15,17,19,21,23,26,28,30,32,34,36,39,41,43,45,47,49,52,54,56,58,60,62,65,67,69,71,73,76,78,80,82,84,86,89,91,93,95,97,99,102,104,106,108,110,112,115,117,119,121,123,125,128,130,132,134,136,138,141,143,145,147,149,152,154,156,158,160,162,165,167,169,171,173,17... |
/* file: logistic_regression_training_result.cpp */
/*******************************************************************************
* Copyright 2014-2020 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 ob... |
// Copyright 2020 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "iree/compiler/Dialect/Flow/IR/FlowDialect.h"
#include "iree/compiler/Dialect/Flow/IR/Fl... |
copyright zengfr site:http://github.com/zengfr/romhack
016B96 move.b ($3,A6), (A4)+ [base+6CDE, base+6CEE, base+6CFE, base+6D0E, base+6D1E, base+6D2E, base+6D3E, base+6D4E, base+6D5E, base+6D6E, base+6D7E, base+6D8E, base+6D9E, base+6DAE, base+6DBE, base+6DCE]
016B9A move.w ($6a,A6), (A4)+ [123p+ 3, base+6CDF, ba... |
#include "SurfaceGenerator.hpp"
#include <Random.hpp>
#include <Size.hpp>
#include <background/FillVec.hpp>
SurfaceGenerator::SurfaceVec SurfaceGenerator::generate() {
SurfaceGenerator::SurfaceVec surface_types(FIELDS_HEIGHT);
for (int i = 0; i < FIELDS_HEIGHT; ++i) {
surface_types[i] = std::vector(FIELDS_WID... |
#ifndef MIGRAPHX_GUARD_RTGLIB_ABS_HPP
#define MIGRAPHX_GUARD_RTGLIB_ABS_HPP
#include <migraphx/shape.hpp>
#include <migraphx/gpu/miopen.hpp>
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
namespace gpu {
struct context;
struct miopen_abs
{
shared<activation_descriptor> ad;
template <class Self,... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
TITLE PROG2-3 (EXE) COPY A 6 BYTE ARRAY INTO A NEW 6 BYTE ARRAY OF DATA
PAGE 60, 132
.MODEL SMALL
.STACK 32
.DATA
;ORG 10H
DATA1 DB 25H, 4FH, 85H, 1FH, 2BH, 0C4H
;ORG 28H
COPY DB 6 DUP (?)
.CODE
MAIN:
MOV AX, @DATA
MOV DS, AX
MOV SI, OFFSET DATA1 ;POINTER TO ORIGI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.